Basics Of C Test 5 - Online Test

Test Difficulty Level: Medium

Syllabus of Test

C Language: Questions based on the basic knowledge of C.

Sample Question from this online test:

Question: What is the final value of digit ?
main()
{
int digit;
for(digit=0;digit<=9;++digit)
printf("%d/n",digit);
digit=2*digit;
--digit;
}

Option A: 19

Option B: -1

Option C: 17

Option D: 16

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

Start this Test






Comments

gajendra kumar jena on 2009-02-17 01:39:14 wrote,

most of the ques are incorrect

Yatendra Kumar Raghav on 2009-02-17 22:40:49 wrote,

@gajendra kumar jena,
Thnkxx for the sugestion we will consider it.

nishant chauhan on 2012-08-15 20:01:10 wrote,

most of the answer are also incorrect e.g 18,17

victor munna on 2013-09-12 17:31:04 wrote,

question no. 4,8,16 are not complete. the answer of question 17,18 ane wrong,bcz x is constant.

sunny kumar tiwari on 2014-10-11 05:36:59 wrote,

q.no-4 is incomplete and 8 has no correct option