Expressions Questions and Answers

Take Exam

Expressions in C Language are fundamental to understanding how operations, precedence, and evaluation work in programming. Practicing programming questions and answers related to C expressions helps students master operator hierarchy and logical computation. Commonly asked in TCS, Infosys, and Wipro placement papers, these C programming MCQs test both conceptual clarity and coding accuracy. This section provides C language expressions questions with step-by-step explanations and solutions to prepare you for technical interviews and competitive programming tests.

Expressions

Showing 10 of 26 questions

21. What is the result of: 4 << 1?

  • 2
  • 4
  • 8
  • 5
Show Answer Report

22. What is: 8 >> 1?

  • 4
  • 8
  • 16
  • 0
Show Answer Report

23. Which is the ternary operator?

  • ?:
  • ??
  • ::
  • !!
Show Answer Report

24. What is the result of: sizeof(int)?

  • 2
  • 4
  • 8
  • Depends on compiler
Show Answer Report

25. What is: 5.0 / 2?

  • 2
  • 2.5
  • 2.0
  • 3
Show Answer Report

26. What is the value of: 10 + 5 * 2 - 3?

  • 17
  • 12
  • 27
  • 22
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test