A

Admin • 828.03K Points
Coach

Q. What is the output of the following C++ code?

Code:
#include <iostream>
using namespace std;
enum letter
{
A = 20, B, C
};
int main()
{
cout << A << B << C;
return 0;
}
  • (A) 202122
  • (B) 222120
  • (C) 202020
  • (D) None of the above
  • Correct Answer - Option(A)
  • Views: 23
  • 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.