Skip to main content

SAQ 2

1

If the statement var fig=2 appears in a function, which type of variable does it declare?

If the statement var fig=2 appears in a function, which type of variable does it declare?

a)
b)
c)
Please select an answerIncorrectCorrect, Because the variable is declared in a function, it is a local variable. Incorrect
Check your answer


Next: Language-Specific Built in Functions