Operators and Expressions – Multiple Choice Questions (MCQs)
-
-
50. What is the value of `~5` (assuming 8-bit signed integer)?
-
51. Which of the following operators has the lowest precedence?
-
52. Which of the following operators has the highest precedence?
-
53. What is the associativity of the unary operators (+, -, ++, --, !)?
-
54. What is the associativity of the relational operators (>, <, >=, <=, ==, !=)?
-
55. What is the associativity of the logical operators (&&, ||)?
-
56. What is the associativity of the conditional operator (?)?
-
57. What is the order of evaluation of operands in an expression in C?
-
58. What is an l-value in C?
-
59. What is an r-value in C?
-
60. Which operator is used for pointer dereference in C?