Q. Which of the following is a syntactically correct for loop?

  • (A) for (i=0;i<=10)
  • (B) for (i=0;i<=10;i++)
  • (C) for i=1 to 10
  • (D) for (i<=10;i++)
πŸ’¬ Discuss
βœ… Correct Answer: (B) for (i=0;i<=10;i++)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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