A

Admin • 802.91K Points
Coach

Q. What is the output of this program?

Code:
#include
using namespace std;
int main()
{
void num0 = 15, num1 = 16;
int num2;
num2 = num0 + num1;
cout << num2;
return 0;
}
  • (A) 31
  • (B) Runtime Error
  • (C) Compile time Error
  • (D) All of above
  • Correct Answer - Option(C)
  • Views: 1
  • 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.