Datatypes- The Building Blocks - Online Test
Test Difficulty Level: Hard
Syllabus of Test
Datatypes & Storage Classes in C
Sample Question from this online test:
Question: main()
{
double x, d=4.4;
int i=2, y;
x=(y=d/i)*2;
printf("x=%lfy=%d", x, y);
y=(x=d/i)*2;
printf("x=%lfy=%d", x, y);
}
Option A: x=4.400000 y=2 x=2.400000 y=4
Option B: x=4.000000 y=2 x=2.000000 y=4
Option C: x=4.000000 y=2 x=2.000000 y=4
Option D: Error Message
To answer, click the "Start This Test" button below.
Start this Test
Related Online Tests:
Comments
![]() | gajendra kumar jena on 2009-02-24 08:32:10 wrote, most of the ques have incorrect options |
![]() | Rajesh Kumar Gupta on 2009-02-25 20:23:13 wrote, @gajendra kumar jena, |


