हिंदी

Which of the following are entry controlled loops? for while do..while switch - Computer Applications

Advertisements
Advertisements

प्रश्न

Which of the following are entry-controlled loops?

  1. for
  2. while
  3. do..while
  4. switch

विकल्प

  • Only 1

  • 1 and 2

  • 1 and 3

  • 3 and 4

MCQ

उत्तर

1 and 2

Explanation:

The for loop and while loop are entry-controlled loops that check the condition before entering the loop body.

shaalaa.com
Entry Controlled Loop
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2023-2024 (February) Official
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×