Compound Operators - Online Test

Test Difficulty Level: Medium

Syllabus of Test

Question based on the operators used in C language.

Sample Question from this online test:

Question: main()
{
int x, y, z;
x=y=z=1;
z=++x&&++y&&++z;
printf("x=%dy=%dz=%d", x, y, z);
}

Option A: x=2 y=2 z=1

Option B: x=1 y=1 z=1

Option C: x=2 y=1 z=1

Option D: x=1 y=2 z=1

To answer, click the "Start This Test" button below.

Start this Test






Comments

hema ikkurthi on 2011-06-11 11:48:29 wrote,

hm.......gd quesns wid xplanation.......thnk u.......