Question
What is the output of this C code? void main() { m(); m(); } void m() { static int x = 5; x++; printf("%d", x); }
Answer: Option A
Was this answer helpful ?
None.
Was this answer helpful ?
More Questions on This Topic :
Question 2. What linkage does automatic variables have? ....
Question 3. Automatic variables are variables that are? ....
Question 4. Automatic variables: ....
Question 8. What is the scope of a function? ....
Question 10. What is the scope of an external variable? ....
Submit Solution