Operators and Expressions – Multiple Choice Questions (MCQs)
-
-
14. Which operator is used for logical NOT in C?
-
15. What is the result of the expression `(5 > 3) && (10 < 12)`?
-
16. What is the result of the expression `(5 < 3) || (10 < 12)`?
-
17. What is the result of the expression `!(5 > 3)`?
-
18. Which operator is used for bitwise AND in C?
-
19. Which operator is used for bitwise OR in C?
-
20. Which operator is used for bitwise XOR in C?
-
21. Which operator is used for left bit shift in C?
-
22. Which operator is used for right bit shift in C?
-
23. What is the value of `5 << 2`?
-
24. What is the value of `16 >> 2`?