Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



#include <stdio.h>
int main() {
    printf("%d", 5 + 3 * 2);
    return 0;
}





Solution

According to the precedence of operators, multiplication (*) is evaluated before addition (+). So, $5 + 3 * 2 = 5 + 6 = 11$.


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...