int main() printf("%d", 5 +..." - Step-by-step solution, answer key, and detailed explanation on MCA Prep."> int main() printf("%d", 5 +..." - Step-by-step solution, answer key, and detailed explanation on MCA Prep." /> int main() printf("%d", 5 +..." - Step-by-step solution, answer key, and detailed explanation on MCA Prep." />
What will be the output of the following code?
#include <stdio.h>
int main() {
printf("%d", 5 + 3 * 2);
return 0;
}
Multiplication has higher precedence than addition, so \(5 + 3 \times 2 = 5 + 6 = 11\).
Answer: (A) 11
Reinforce your conceptual grasp with related questions from MAH MCA CET 2025:
Take timed full-length mock tests with authentic question distributions, negative marking (+12/-3 in Math), and instant All India Rank calculation.
Start Free Mock Test Series →