A

Admin • 833K Points
Coach

Q. What is the output of this program?

Code:
void main()
{
int a, b = 5, c;
a = 5 * (b++);
c = 5 * (++b);
printf("%d %d",a,c);
}
  • (A) 25 35
  • (B) 25 30
  • (C) 30 30
  • (D) 30 35
  • Correct Answer - Option(A)
  • Views: 21
  • 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.