Q. Which one of the following sentences is true ?

  • (A) the body of a while loop is executed at least once.
  • (B) the body of a do ... while loop is executed at least once.
  • (C) the body of a do ... while loop is executed zero or more times.
  • (D) a for loop can never be used in place of a while loop.
πŸ’¬ Discuss
βœ… Correct Answer: (B) the body of a do ... while loop is executed at least once.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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