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) Which of the following comments about the ++ operator are correct?

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 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) Which operator has the lowest priority?

UP Gk Online Test

taiyari24hour.com

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