Vidyalelo
C Programming · Q11

Function

Programming · C Programming · question 11

Q11

How is the scope of a local variable defined in C?

A.
Limited to the function where it is declared
Answer
B.
Limited to the entire program
C.
Limited to the block where it is declared
D.
Limited to the main() function

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board