Q. What is the output of this program?
Code:
#include
using namespace std;
enum test
{
p = 20, q, r
};
int main()
{
cout << p <<" " << q<< " " << r;
return 0;
}
β
Correct Answer: (C)
20 21 22