What is the output of the following statements?
int b=15, c=5, d=8, e=

Home | Discussion Forum
Taiyari24Hour

What is the output of the following statements?

int b=15, c=5, d=8, e=8, a;
a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;
printf("%d", a);



View More Related Question

2) What will be the output of the following program?

void main()
{
int a, b, c, d;
a = 3;
b = 5;
c = a, b;
d = (a, b);
printf("c=%d d=%d", c, d);
}

3) What will be the output?

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

4) What number will z in the sample code given below?

int z, x=5, y= -10, a=4, b=2;
z = x++ - --y*b/a;

5) Determine output:

void main()
{
int i=10;
i = !i>14;
printf("i=%d", i);
}

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.