A

Admin • 833K Points
Coach

Q. What is the output of the C statement.?

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

return 0;
}
  • (A) 40
  • (B) 4
  • (C) 34
  • (D) 54
  • Correct Answer - Option(C)
  • Views: 18
  • 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.