C - Control Flow Constructions Questions and Answers

Take Exam

Control Flow Constructions in C are fundamental to defining how a program executes statements based on conditions, loops, and decisions. This topic focuses on essential C programming questions and answers that help you master control statements like if-else, switch, for, while, and do-while loops. Whether you’re preparing for placement drives at TCS, Wipro, or Infosys, or aiming to crack technical rounds in coding interviews, these control flow MCQs will test your logical understanding and practical knowledge. Practice these C Control Flow Constructions questions with answers to improve your coding efficiency and logic-building skills.

C - Control Flow Constructions

Showing 10 of 62 questions

1.  Structural programming approach makes use of 

  • modules
  • control structures
  • user defined data types
  • all the above
Show Answer Report

2.  A statement is differentiated from an expression 

  • by terminating it by a semicolon
  • by terminating it by a newline character
  • by terminating it by a NULL
  • by terminating it by a blank space
Show Answer Report

3.  A null statement can be represented by a 

  • newline
  • blank space
  • semicolon
  • colon
Show Answer Report

4.  A block is enclosed within a pair of 

  • { }
  • ( )
  • [ ]
  • < >
Show Answer Report

5. &nbsp;Identify the unconditional control structure.

  • do-while
  • switch-case
  • goto
  • if
Show Answer Report

6. &nbsp;Identify the loop construct.&nbsp;

  • if-else
  • switch-case
  • goto
  • while
Show Answer Report

7. &nbsp;The number of loop constructs in C is&nbsp;

  • 2
  • 3
  • 4
  • 5
Show Answer Report

8. &nbsp;Identify the wrong statement.&nbsp;

  • if (a < b);
  • if a < b;
  • if (a<b) { ; }
  • options b and c
Show Answer Report

9. &nbsp;Which is syntactically correct ?

  • if (a : = 10) {.....} else if (a< 10) { ...}
  • if (a = = 10) {...} else if (a<10) {....}
  • if (a eq 10) { ... } else if (a < 10) {...}
  • if (a.eq. 10) {...} else if ( a<10) {...}
Show Answer Report

10. &nbsp;Which is the correct statement ?

  • printf ("Maximum = % d\n",(x.y)/? x:y);
  • printf("%s \n", (mark > = 60)? "FIRST CLASS ": "NOT FIRST CLASS ") ;
  • printf ("%s \n", "PASS") ;
  • all the above
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test