You are not logged in.

#1 2015-09-14 04:28:42

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

C Language Operators And Expressions Output:

C Programming Quizzes C Language Operators And Expressions

Directions:
What will be the output?

Question:
void main(){
    int a=10, b=20;
    char x=1, y=0;
    if(a,b,x,y){
        printf("EXAM");
    }
}

Option A):
Nothing is printed
Option B):
XAM is printed
Option C):
exam is printed
Option D):
Compiler Error

Correct Answer is Option A):
Nothing is printed


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-09-14 04:28:42

Advertisement
Ads By Google

Re: C Language Operators And Expressions Output:



Board footer