Determine output:
void main()
{
int i=10;

Home | Discussion Forum
Taiyari24Hour

Determine output:

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



View More Related Question

2) What will be the output of this program on an implementation where int occupies 2 bytes?

#include 
void main()
{
int i = 3;
int j;
j = sizeof(++i + ++i);
printf("i=%d j=%d", i, j);
}

3) 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;

4) What will be the output?

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

5) What is the output of the following statements?

int i = 0;
printf("%d %d", i, i++);

UP Gk Online Test

taiyari24hour.com

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