ExamVeda
Login
Home
Operators and Expressions in C Sharp
?

What is the result of the expression 5 + 3 * 2 in C#?

Answer & Solution
Correct Answer: Option D
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
RUPESH DAHAL
RUPESH DAHAL 5 months ago
The valid answer is Option A (11) because, according to mathematical operator precedence, multiplication is performed before addition. Therefore, 3 * 2 is calculated first, resulting in 6, and then 5 is added, giving the final result of 11.