Vidyalelo
C Programming · Q211

Function

Programming · C Programming · question 211

Q211

Which variable has the longest scope in the following C code? #include int b; int main() int c; return 0; int a;

A.
a
B.
b
Answer
C.
c
D.
Both a and b

Answer: Option B

Solution

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