Question 1: Relational Operators
Which of the following statements is true in C?
Question 2: Arithmetic Operators
What is the output of the following C code?
Question 3: Modulus Operator
What is the result of the expression 20 % 6?
Question 4: Logical AND Operator
What is the output of the following C code?
Question 5: Pre-increment Operator
What is the value of y after the following C code executes?
Question 6: Post-decrement Operator
What will be the final value of x after the following C code executes?
Question 7: Assignment Operators
The expression x += 5; is equivalent to which of the following?
Question 8: Operator Precedence
What is the output of the following C code?
Question 9: Logical NOT Operator
What is the value of the expression !0?
Question 10: C Ternary Operator
What is the output of the following C code?