Nguyễn Thuỳ Chi
New member
What will be the output of the following C code?
A. Run time error
B. 3 3
C. 3 5
D. 3 4
Code:
#include <stdio.h>
int x = 5;
void main()
{
int x = 3;
printf("%d", x);
{
x = 4;
}
printf("%d", x);
}
B. 3 3
C. 3 5
D. 3 4