Determine output:
void main()
{
int c = - -2;

Home | Discussion Forum
Taiyari24Hour

Determine output:

void main()
{
int c = - -2;
printf("c=%d", c);
}



View More Related Question

2) Determine output:

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

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

4) Which operator has the lowest priority?

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

UP Gk Online Test

taiyari24hour.com

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