C Programming MCQ : Conditional Operators (Multiple Choice Questions)


Question 1
Two different operators may have same associativity !
A
True
B
False
Question 1 Explanation: 
  1. Yes !! Two different operators may have same associativity.
  2. Arithmetic operators like ++, -- having Right-to-Left associativity.
Question 2
Which of the following is called as relational operator ?
A
+=
B
&&
C
==
D
=
Question 2 Explanation: 
In C Programming there are 6 relational operators
Question 3
In the if statement which of the following operator is used to check the equality between two operands.
A
Assignment Operator
B
Relational Operator
C
Assignment Operator
D
Logical Operator
Question 4
In C Programming we have total _________ relational operators.
A
7
B
5
C
6
D
4
Question 5
Value returned after executing relation operator is either 0 or 1.
A
False
B
True
There are 5 questions to complete.