Q. What is the output of this program?
Code:
#include
using namespace std;
enum boy
{
num = 20
};
int main()
{
int age = 100;
age /= num;
cout << "If you were boy, you would be " << age << endl;
return 0;
}
β
Correct Answer: (A)
If you were boy, you would be 5