Important MCQ

The value of (2 + 3) * 4 is

Q.The value of (2 + 3) * 4 is

A) 20
B) 24
C) 14
D) 9
Correct Answer:
Option A
Detailed Explanation:
A) 20 is correct. Arithmetic operators include +, -, *, /, %, ++ and --. Integer division produces an integer result; postfix uses the old value before updating, while prefix updates first.