Sail E0 Webinar
Question

What is the scope of the variable declared in the user definied function?


Options:
A .  whole program
B .  only inside the {} block
C .  both a and b
D .  none of the mentioned
Answer: Option B

The variable is valid only in the function block as in other.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers