Q. What is the output of the program?
Code:
int main()
{
register a=10;
{
register a = 15;
printf("%d ", a);
}
printf("%d ", a);
return 20;
}
β
Correct Answer: (B)
15 10