20 day 

Nested Loops in C 

A nested loop means a loop statement inside another loop statement. That is why nested loops are also called “loop inside loops“. We can define any number of loops inside another loop

Syntax:

for ( initialization; condition; increment ) {

   for ( initialization; condition; increment ) {
      
      // statement of inside loop
   }

   // statement of outer loop
}


https://www.youtube.com/watch?v=XJrhdmabZ2Y&list=PLfgCIULRQavzxY-IO2sO5Vj5x7C_tjW3R&index=16

Comments

Popular posts from this blog