Q. What is the output of this program?

Code:
#include 
    using namespace std;
    int main()
    {
        /* this is comment*\
        cout << "Uday";
        return 0;
    }
  • (A) Uday
  • (B) Compilation Error
  • (C) Runtime Error
  • (D) Garbage value
πŸ’¬ Discuss
βœ… Correct Answer: (B) Compilation Error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
232
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Uday Singh
Publisher
πŸ“ˆ
88%
Success Rate