Examveda

What will be the output of the following C++ code?
#include <iostream>
using namespace std;
enum test 
{
    A = 32, B, C
};
int main()
{
    cout << A << B<< C;
    return 0;
}

A. 323334

B. 323232

C. 323130

D. 323134

Answer: Option A


Join The Discussion

Related Questions on Variables and Data Types in C plus plus