NANDHOO
.
Learning Paths
Dashboard
Sign In
Home
Dashboard
C Programming Engineering Mastery
Operators and Expressions
Quiz
Chapter Quiz: Operators and Expressions
Operators & Expressions Quiz
Complete this assessment with 100% score to master this chapter.
01
What is the result of the expression '5 / 2' in C if both are integers?
2.5
2
3
Error
02
Which bitwise operator is used to set a specific bit without affecting others?
& (AND)
| (OR)
^ (XOR)
~ (NOT)
03
In the expression 'x = a++', if a is 5, what are the values of x and a after execution?
x=6, a=6
x=5, a=6
x=5, a=5
x=6, a=5
04
Which operator has the highest precedence among the following?
+
*
()
==
05
What is the result of the logical expression '(5 > 3 && 2 > 4)'?
1 (true)
0 (false)
NULL
Error
Submit Answers
Back to Lesson
Next Chapter