Q. What is the output of below program?

Code:
int main()
{
if(-1 == -1){
cout<<"Hey..";
}
else{        cout<<"mcqbuddy.com";
}

return 0;
}

  • (A) Hey..
  • (B) mcqbuddy.com
  • (C) Compilation Error
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) Hey..

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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