Operators and Expressions – Multiple Choice Questions (MCQs)
-
-
62. Which operator is used to access members of a structure through a pointer in C?
-
63. Which operator is used to access members of a structure directly in C?
-
64. What is the value of the expression `5 / 2.0` in C?
-
65. What is the value of the expression `(float) 5 / 2` in C?
-
66. What is the value of the expression `5 / (float) 2` in C?
-
67. What is the value of the expression `(int) 5.7` in C?
-
68. What is the value of the expression `(int) -5.7` in C?
-
69. Which operator is used for the comma operator in C?
-
70. What is the purpose of the comma operator in C?
-
71. What is the value of the expression `(a = 5, b = 10, a + b)`?
-
72. Which of the following is a relational operator?