A

Admin • 833.24K Points
Coach

Q. What happens if the following program is run in C and C++?

Code:
#include <stdio.h>
void main()
{
printf("Hello World");
}
  • (A) Error in C++ and success in C
  • (B) Warning in C and C++
  • (C) Error in C and C++
  • (D) Error in C and success in C++
  • Correct Answer - Option(A)
  • Views: 25
  • Filed under category C++
  • 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.