πŸ“Š C++
Q. What is the output of the following C++ code?
Code:
#include <iostream>
using namespace std;
enum Jour {
  MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
};
int main()
{
  cout << MONDAY << TUESDAY << WEDNESDAY << THURSDAY << FRIDAY;
  return 0;
}
  • (A) 01435
  • (B) 01234
  • (C) 43210
  • (D) 01235
πŸ’¬ Discuss
βœ… Correct Answer: (B) 01234

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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