C Objective Interview Questions – Operators

These C Objective Interview Questions post providing basic, intermediate and Hard level examples in C Operators. The practice of these examples makes you good in C programming.


Pick the odd statement?

  1. Conditional operator Performs operation on three operands
  2. Modify operators come under Unary operator
  3. Address operator also called Unary operator
  4. All of above

Answer :

Ans : 4 ; In case of given question, all the statements are correct.

What increment operator does?

  1. Increases the value by 1
  2. Increase the value by the size of the data type.
  3. Neither A nor B
  4. None of the above

Answer :

Ans : 1 ; Either post-increment or pre-increment, increases the value by 1

What is the difference between pre-increment & post-increment?

  1. Pre-increment increases the value and executes
  2. Post-increment evaluates and then increases
  3. Both A and B
  4. Both increments before execute
  5. Both execute before the increment.

Answer :

Ans : 3 ;

Find out the correct sequence of operators according to priorities?

  1. Arithmetic<relational
  2. Logical>relational
  3. Arithmetic>relational
  4. Relational>logical

Answer :

Ans : 3 ; Arithmetic operators having higher priority than relational operators.

Will the second expression execute if the first expression fails in case of logical AND operator?

  1. Yes
  2. No
  3. Depends on compiler
  4. None of above.

Answer :

Ans : 2 ; No, second expression will not execute if first one is false.

Which operator having higher priority among > and <?

  1. Greater than
  2. Less than
  3. Equal priority
  4. None of the above.

Answer :

Ans : 3 ; All the relational operators having equal priority

How many arithmetic operators supported by C-language?

  1. 6
  2. 4
  3. 5
  4. 3

Answer :

Ans : 5 ; Operators are +, -, *, / and %

What does mod operator return after the evaluation?

  1. Quotient
  2. Remainder
  3. Devisor
  4. None of above.

Answer :

Ans : 2 ; Remainder.

How many operands required for a conditional operator?

  1. Two operands
  2. Single operand
  3. Three operands
  4. None of the above.

Answer :

Ans : 3 ; Syntax : Condition ? Expression1 : Expression2.

Which one executes first among arithmetic & relational operators in an expression?

  1. Arithmetic operators
  2. Relational operators
  3. Both are having equal priority
  4. None of the above.

Answer :

Ans : 1 ; Arithmetic operators having higher priority than relational operators.

C Objective Interview Questions On Operators – Part-2

Share this