Basic Programming Quiz 0001
Examine the code snippets given below—-
#include <stdio.h>
int main()
{
int x;
x = 10;
if(x == 10) {
int x;
x = 99;
printf("Inner x: %d\n", x);
}
printf("Outer x: %d\n", x);
return 0;
}
What does the program displays?
Advertisement

