12345678910



Question 1: What will be the output of the program?

#include<stdio.h>
int main()
{
int X=40;
{
int X=20;
printf("%d ", X);
}
printf("%d ", X);
return 0;
}

1. 40 40
2. 20 40
3. 20
4. Error