πŸ“Š C++
Q. What is the output of below program?
Code:
int main()
{
 if(0)
 {
    cout<<"Hi";
 }
 else
 {
    cout<<"Hello";
 }
return 0;
}
  • (A) Hi
  • (B) Hello
  • (C) HiHello
  • (D) Compilation Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) Hello

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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