What is the output of the following statements?
int i = 0;
printf

Home | Discussion Forum
Taiyari24Hour

What is the output of the following statements?

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



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) Determine output:

void main()
{
int i=0, j=1, k=2, m;
m = i++ || j++ || k++;
printf("%d %d %d %d", m, i, j, k);
}

4) 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);
}

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.