Q. What is the output of this program?

Code:
#include 
    using namespace std;
    enum Gender {
        male, female, transgender
    };
    int main()
    {
        cout << male<< female<< transgender;
        return 0;
    }
  • (A) male
  • (B) female
  • (C) transgender
  • (D) 012
πŸ’¬ Discuss
βœ… Correct Answer: (D) 012

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
237
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Rohan Raj
Publisher
πŸ“ˆ
87%
Success Rate