Q. What is the purpose of the break statement in a loop in R?

  • (A) To exit the loop immediately
  • (B) To skip the current iteration of the loop
  • (C) To restart the loop from the beginning
  • (D) To increment the loop variable
πŸ’¬ Discuss
βœ… Correct Answer: (A) To exit the loop immediately

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
207
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
82%
Success Rate