You are not logged in.

#1 2015-05-25 09:53:09

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

Printed Output:

Directions:
void main()
{
int a=5,b=10;
char x=1,y=0;
if(a,b,x,y)
{
printf("MAIN");
}
}

Question:
What is the output?

Option A):
MAIN is printed
Option B):
Nothing is printed
Option C):
Compiler Error
Option D):
AIN is printed

Correct Answer is Option B):
Nothing is printed


Failure is the first step towards seccess.

2015-05-25 09:53:09

Advertisement
Ads By Google

Re: Printed Output:



\n

Board footer