πŸ“Š C++
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) 202122

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
232
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
81%
Success Rate