What is the output of following C programming code?
void main()
{
int x=10;
if(!!x)
printf("x=%d",x);
else
printf("x=20");
}
1
x=10
2
x=0
3
x=1
4
x=20
What is the output of following C programming code?
void main()
{
int x=10;
if(!!x)
printf("x=%d",x);
else
printf("x=20");
}