C Language: Control Instructions - Online Test

Test Difficulty Level: Medium

Syllabus of Test

C Language: Questions based on the Control Instructions of the C language.

Sample Question from this online test:

Question: Which of the following is the correct output for the program given below?

main() {

char str[]="part-time musicians are semiconductors";

int a=5;

printf(a>10?"%50s":"%s",str);

}

Option A: Error

Option B: Part time musicians are conductors

Option C: Part time musicians are semi conductors

Option D: None of above

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

Start this Test






Comments

Rahul jain on 2010-08-04 17:03:35 wrote,

good

Rahul jain on 2010-08-04 17:08:50 wrote,

exelent

deepti chaudhary on 2010-09-22 06:14:43 wrote,

most of the answers are wrong...................kindly update your answers

Hemant Patel on 2010-11-30 04:58:40 wrote,

thank yu

Sukhil S S on 2011-04-28 06:16:35 wrote,

Qn 2. No outputs is the correct answer. Just run it...
Qn 3. No outputs
Qn 5. Syntax error
Qn 6. Correct Answer is b=100,c=200
Qn 13. Syntax error

madhu mati on 2011-06-05 04:06:37 wrote,

Y are all questions taken from test your c skills book??

Bikram Das on 2011-07-14 10:56:54 wrote,

Check out your answers

shefali lahariya on 2012-05-18 10:43:01 wrote,

some ans is wrong there

vizhnu vish on 2012-06-01 12:35:18 wrote,

vv

indu mathi on 2012-09-03 15:57:53 wrote,

please correct your answers,most of them are wrong

swathi joshi on 2013-04-16 12:50:29 wrote,

question paper is not printed properly!!!!!!!!