C - Operators and Expressions Questions and Answers

Take Exam

Operators and expressions are the core of performing calculations and logic in C programs. This section features C programming questions and answers focusing on arithmetic, relational, logical, bitwise, and assignment operators. Designed for TCS, Infosys, and Capgemini aspirants, these MCQs test both concept clarity and coding accuracy. Practicing these C Operators and Expressions questions with answers helps you strengthen your understanding of how C executes and evaluates expressions—essential for both programming interviews and technical exams.

C - Operators and Expressions

Showing 10 of 65 questions

41.  The associativity of logical AND, OR is 

  • right to left
  • left to right
  • option a for arithmetic expression and b for pointer expression
  • option a for pointer expression and b for arithmetic expression
Show Answer Report

42.  Which operator has the lowest priority ?

  • Assignment
  • Division
  • Comma
  • Conditional operator
Show Answer Report

43.  Which operator has the highest priority ?

  • ( )
  • ->
  • .
  • all the above
Show Answer Report

44.  Which operator has thehighest priority ?

  • + +
  • %
  • +
  • /
Show Answer Report

45.  Which operator has the lowest priority ?

  • &
  • +
  • <=
  • ||
Show Answer Report

46. &nbsp;Which is executed quickly ?

  • p++
  • ++p
  • options a and b
  • p + 1
Show Answer Report

47. &nbsp;p++ executes faster than p + 1 since

  • p uses registers
  • single machine instruction is required for p ++
  • options a and b
  • none of the above
Show Answer Report

48. &nbsp;Of the following, which are logical operators ?

  • &&
  • !
  • ||
  • options a, b, and c
Show Answer Report

49. &nbsp;In a C expression, how is a logical AND represented ?

  • ||
  • .AND
  • @@
  • &&
Show Answer Report

50. &nbsp;Which of the following is a ternaryoperator ?.

  • ?:
  • *
  • sizeof
  • ^
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test