Operators And Expressions In C Plus Plus - Study Mode
[#6] What is the result of the expression: 5 + 3 * 2 in C++?
Correct Answer
(A) 16
[#7] What is the purpose of the modulo operator (%) in C++?
Correct Answer
(A) Division remainder
[#8] Which operator is used to access the memory address of a variable in C++?
Correct Answer
(B) &
[#9] What is the result of the expression: 3 * (4 + 2) in C++?
Correct Answer
(B) 20
[#10] What does the '++' operator do when used as a postfix operator?
Correct Answer
(A) Increments after use