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;
printf("x=%lfy=%d", x, y);
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


gajendra kumar jena on 2009-02-24 14:32:10 wrote,

most of the ques have incorrect options

Rajesh Kumar Gupta on 2009-02-26 02:23:13 wrote,

@gajendra kumar jena,
All question taken from the standard sources but we will check it out. Thnkx for the suggestions.