Q. What is the output of the program?
Code:int main()
{
auto int a=10;
{
auto int a = 15;
printf("%d ", a);
}
printf("%d ", a);
return 1;
}
β
Correct Answer: (C)
15 10
int main()
{
auto int a=10;
{
auto int a = 15;
printf("%d ", a);
}
printf("%d ", a);
return 1;
}
You must be Logged in to update hint/solution