Q. What is the output of below program?
int main()
{
for(; ;)
for(; ;)
printf("Hello..");
return 0;
}

  • (A) Compilation Error
  • (B) Runtime Error
  • (C) Hello is printed one time
  • (D) Hello is printed infinite times
πŸ’¬ Discuss
βœ… Correct Answer: (D) Hello is printed infinite times

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
151
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate