Predict the output of following “C” code:

			  		

Loading

Practice Control Instructions – Predict the output of following “C” code:


void main()
{
int a,x=2,3,4,5;
a=1,2,3,4,5;
printf("%d%d",x,a);
}

Predict the output of following “C” code:

			  		

Loading

Practice Control Instructions – Predict the output of following “C” code:


void main()
{
if(5,4,3,2,1,? 0 ? )
printf("True");
else
printf("False");
}

Predict the output of following “C” code:

			  		

Loading

Practice Control Instructions – Predict the output of following “C” code:


#include
void main()
{
int a,x=(2,3,4,5);
a=1,2,3,4,5;
printf("%d,%d",x,a);
}

Comment on the below while statement
while (0 == 0) { }

Loading

Practice Control Instructions – Comment on the below while statement
while (0 == 0) { }

Predict the output of following “C” code:

			  		

Loading

Practice Control Instructions – Predict the output of following “C” code:


void main()
{
if(1)
printf("hai");
else
printf("hello");
}