Pages

Hello there!

Powered by Blogger.

Monday, January 7, 2013

NESTED LOOP IN C


NESTED LOOP IN C WITH EXAMPLE


c allows for, while and do while loops to be nested. that is one loop is inside another loop.

Example:-


Output:-

.....
....
...
..
.

one type of loop can be nested with other type of loop. for example while loop is inside for loop.

Example:-


0 comments:

Post a Comment