A

Admin • 833K Points
Coach

Q. What is the output of the C Program?

Code:
int main()
{
int a=0;
a = 10 + 2 * 12 /(3*2) + 5;
printf("%d", a);

return 0;
}
  • (A) 31
  • (B) 19
  • (C) 11
  • (D) 29
  • Correct Answer - Option(B)
  • Views: 26
  • Filed under category C Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.