A loop that contains another loop inside its body is called:

  • A. Infinite Loop
  • B. Nested Loop
  • C. Recursive Loop
  • D. Inner Loop
Correct Answer: B. Nested Loop
A nested loop is a loop inside another loop, commonly used in programming for complex iterations.

If you think there is any confusion in the given MCQs, you can comment below.

Follow us on WhatsApp

docmcqs.com is Pakistan's No.1 online platform for preparing for all types of exams including PPSC, FPSC, KPSC, SPSC, Ministry of Defence, and for one-paper MCQs. This includes Pedagogy MCQs, general knowledge MCQs, current affairs MCQs, and much more.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top