C Programming MCQ : Conditional Operators (Multiple Choice Questions)
Question 1 |
Two different operators may have same associativity !
True | |
False |
Question 1 Explanation:
- Yes !! Two different operators may have same associativity.
- Arithmetic operators like ++, -- having Right-to-Left associativity.
Question 2 |
Which of the following is called as relational operator ?
+= | |
&& | |
== | |
= |
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.
Assignment Operator | |
Relational Operator | |
Assignment Operator | |
Logical Operator |
Question 4 |
In C Programming we have total _________ relational operators.
7 | |
5 | |
6 | |
4 |
Question 5 |
Value returned after executing relation operator is either 0 or 1.
False | |
True |
There are 5 questions to complete.