A

Admin • 833K Points
Coach

Q. What will be the output?

Code:
#include <stdio.h>
int main()
{
int main = 5;
printf("%d", main);
return 0;
}
  • (A) run-time error
  • (B) experience infinite looping
  • (C) run without any error and prints 5
  • (D) compile-time error
  • Correct Answer - Option(C)
  • 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.