+ 3

Nested loop

It means execution of block of statement repeatedly until the condition become falsethis is called loop. When there is is loop inside a loop is called nested loop.

15th Sep 2021, 10:08 AM
Mahima Bhardwaj
Mahima Bhardwaj - avatar
3 odpowiedzi
+ 2
What is your question?
15th Sep 2021, 10:10 AM
Slick
Slick - avatar
+ 2
Can give me difference Between recursive and nested in c
15th Sep 2021, 10:21 AM
Mahima Bhardwaj
Mahima Bhardwaj - avatar
+ 1
its the same in any language. recursive means calling something from within itself. like a function that calls the same function somewhere in the function block. nesting is just a way to run code multiple times... multiple times. Say you do a thing 10 times. And each time you have to do a thing, it's really 5 little things you have to do. So you're doing 5 little things 10 times. There's lots of use but you should just keep practicing
15th Sep 2021, 10:26 AM
Slick
Slick - avatar