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

1.  The number of binary arithmetic operators in C is 

  • 5
  • 4
  • 6
  • 7
Show Answer Report

2.  The number of unaryarithmetic operatorsin C is 

  • 1
  • 4
  • 3
  • 2
Show Answer Report

3. The operator % yields 

  • quotient value
  • remaindervalue
  • percentage value
  • fractional part of the division
Show Answer Report

4.  The operator / when applied to floatingvalues yields 

  • remainder value
  • negative value of the remainder
  • quotient including fractional part
  • integer quotient value only.
Show Answer Report

5.  The operator % can be applied only to

  • float values
  • double values
  • options a and b
  • integral values
Show Answer Report

6.  x % y is equal to 

  • (x -(x/y))
  • (x (x/y)* y)
  • (y-(x/y))
  • (y - (x/y)* y)
Show Answer Report

7.  The operator / can be applied to 

  • integral values
  • float values
  • double values
  • all the above
Show Answer Report

8.  The second operand of the operator % must always be 

  • negative value
  • non-zero
  • zero
  • positive value
Show Answer Report

9.  If both the operands of the operator / are integers, the result is 

  • a float value
  • an integer value
  • option a or b
  • undefined
Show Answer Report

10.  Integer dividion results in 

  • rounding of thefractional part of the quotient
  • truncating the fractional part of the quotient
  • floating value
  • syntax error
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test