Question 56
What is the output of the following C code?
#include <stdio.h>
int x = 56;
int main(void) {
int x = 66;
{
int x = 76;
printf("%d ", x);
}
printf("%d", x);
return 0;
}Detailed Solution
Inner block scope declarations shadow outer scope declarations of the same identifier name.