C Program Practice Questions for Beginners FAQ PDF Download

Learn c program practice questions for beginners FAQ, c language FAQ, competency based interview questions with MCQs based online test prep. These frequently asked questions has multiple choice questions (MCQ), c language quiz questions and answers: output of statement in_range=(n > -10 && n < 10); where n = 5 is, answer key with options -10, 10, 0 and 1 for competitive exam preparation. Free FAQ, situational interview questions are to learn c program practice questions for beginners quiz online with MCQs to practice test questions with answers.

FAQ: C Program Practice Questions for Beginners PDF Download

MCQ: Output of statement in_range=(n > -10 && n < 10); where n = 5 is

  1. -10
  2. 10
  3. 0
  4. 1

D

MCQ: Actual parameter of -35.7 is passed to type int formal parameter then value of parameter becomes

  1. -35
  2. -35
  3. 35
  4. 35

B

MCQ: Output of statement printf("Three values of x are %4.1f*%5.2f*%.3f ",x,x,x); where x=3.456 is

  1. 3.5*3.4*3.4
  2. 3.5*3.46*3.45
  3. 3.5* 3.46*3.456
  4. 3.5*3.46*3.456

C

MCQ: C compiler shows the

  1. Syntax error
  2. Runtime error
  3. Garbage error
  4. Logical error

A

MCQ: Output of statement printf("Three values of x are %4d*%5d*%d ",x,x,x); where x=345 is

  1. 345.0*345*345
  2. 345*345*345
  3. 345* 345*345
  4. 345* 345*345

D