Reference or value?

Report a typo

What is the value of the c variable at the end of the given pseudocode?

function func(a):
    if a > 0 then:
        return a * 2
    else:
        return a * a


c = -3
c = func(c)
Enter a number
___

Create a free account to access the full topic