main()
{
int x = 10;
{
int x = 0;
printf("%d",x);
}
}
(A) 10
(B) Compilation Error
(C) 0
(D) Undefined
Answers
Answered by
1
(C) 0 => Correct Option
The nearest number that will print is x = 10
Because,
First, x = 0
Second x = 10
Answered by
0
the answer is 10,16.
because x=x++;
means first assign after that that is incremented.
in case of y=++y;
first increment operation is performed. after that assigned.
Hence, option ( a )
Similar questions