ITP

BCA - CPPM

What is nested loop

In : BCA Subject : CPPM

A nested loop is a loop that is inside another loop.
The depth of a nested loop is determined by the problem's complexity.
We can have as many nested loops as we like.
Consider a nested loop in which the outer loop runs n times and is surrounded by another loop.
The inner loop is repeated m times.
The total number of times the inner loop runs throughout the execution of the programme is then n*m.

About us

A truly open platform where you may ask questions and get answers. We also provide comprehensive and easy-to-understand answers to question papers.  discover...

Site status

Flag Counter

Privacy Policy

Sitemap