Skip to player
Skip to main content
Skip to footer
Search
Connect
Watch fullscreen
Like
Bookmark
Share
Add to Playlist
Report
Learn Programming Technique C to Master Skills - Loop Within Loop Explanation with Real Time Example
Tutorials Arena
Follow
10/17/2024
Category
📚
Learning
Transcript
Display full video transcript
00:00
Hello everyone this is sandeep today i am going to explain loop within loop in my previous
00:09
videos i have explained if statement i have explained loop i have explained loop with
00:16
if statement now i am going to explain loop within loop now to understand loop within
00:23
loop how loop within loop works i will give a realistic approach example so the concept
00:30
will be clear you will easily understand that how the loop within loop works ok so here
00:38
i am going to give a example of a clock or you can say of a watch how the clock works
00:49
how a watch works ok if you see in this example friends this is the example and if you see
00:56
in this example this is hours hand and this one is minutes hand ok we all know that how
01:06
clock works we will understand with the help of example that how the control from the hours
01:14
hand come to minutes hand and once the control comes to minutes hand the minutes hand take
01:22
the full rotation and again the control backs to what hours hand just keeping the procedure
01:29
how the clock works in your mind we will be able to understand that how loop within loop
01:41
also works ok so here in this example if you see the hours hand is showing three o'clock
01:47
ok so at the at present the clock is showing three o'clock now once the time is three o'clock
01:54
the control will reach to minutes hand and this one is the minutes hand this one is minutes hand
02:03
so the minutes hand will take the full rotation of 60 minutes it will move one two three four
02:09
it will take the full rotation of 60 minutes once it will complete the full rotation of 60 minutes
02:15
again the control goes back to the hours hand ok and the time will change from three o'clock to
02:23
what four so once it will change the time the control again goes back to minutes hand
02:33
ok this minutes hand and again it going to take the full rotation from one two three four up to
02:40
60 minutes so we can say that hours hand is outer loop and minutes hand which is taking the full
02:48
rotation from one to 60 minutes it is the inner loop just keeping in mind the procedure of watch
02:57
and a clock we can easily understand that how loop within loop works once the control from the
03:09
hours hand comes inside the minutes hand it's not going to start from 60 then 61 62
03:18
like that it will going to start from its initial value that is from one one two three and take the
03:24
full rotation of 60 ok so always when from the hours hand the control comes to the minutes hand
03:33
it is it is going to start from its initial value that is from one and it will take the full
03:38
rotation of 60 minutes then the hours hand times changes as it's showing four and once the minutes
03:48
hand take the full rotation of 60 minutes the time from four o'clock changes to what five
03:56
so just keep in mind how the clock work how the watch work ok the same procedure the same method
04:03
is applied in loop within loop in the next video i'm going to explain loop within loop in a flow
04:10
chart so the things will be more clear with one of the example thanks for watching this video bye
Recommended
8:01
|
Up next
Learn Programming Technique C to Master Skills - Loop Within Loop Program
Tutorials Arena
10/17/2024
8:18
Learn Programming Technique C to Master Skills - Loop Within Loop Program Explanation in Flow chart
Tutorials Arena
10/17/2024
4:07
Learn Programming Technique C to Master Skills - Second Program of Loop (While Loop)
Tutorials Arena
10/17/2024
10:56
Learn Programming Technique C to Master Skills - Loop With If Statement Program
Tutorials Arena
10/13/2024
3:55
Learn Programming Technique C to Master Skills - First Program of Loop (While Loop)
Tutorials Arena
10/13/2024
4:03
Learn Programming Technique C to Master Skills - Second Program of Loop ( For Loop )
Tutorials Arena
10/17/2024
8:07
Learn Programming Technique C to Master Skills - Loop with if Statement Second Program
Tutorials Arena
10/17/2024
3:51
Learn Programming Technique C to Master Skills - First Program of Loop (For Loop)
Tutorials Arena
10/13/2024
4:57
Learn Programming Technique C to Master Skills - Loop With If Statement Program ( Flow Chart )
Tutorials Arena
10/13/2024
5:33
Learn Programming Technique C to Master Skills - Fourth Program of Loop ( While Loop )
Tutorials Arena
10/13/2024
4:28
Learn Programming Technique C to Master Skills - Fourth Program of Loop ( For Loop )
Tutorials Arena
10/13/2024
5:02
Learn Programming Technique C to Master Skills - Third Program of Loop
Tutorials Arena
10/17/2024
5:14
Learn Programming Technique C to Master Skills - Single If Statement Program Explanation
Tutorials Arena
10/12/2024
4:57
Learn Programming Technique C to Master Skills - Loop with If Statement Second Program Continue...
Tutorials Arena
10/17/2024
6:40
Learn Programming Technique C to Master Skills - Explanation of Array
Tutorials Arena
10/20/2024
12:06
Learn Programming Technique C to Master Skills - Continuous If Statement Program
Tutorials Arena
10/8/2024
3:52
Learn Programming Technique C to Master Skills - Second Program of Loop (Flow Chart)
Tutorials Arena
10/17/2024
3:27
Learn Programming Technique C to Master Skills - Third Program of Loop ( Flow Chart)
Tutorials Arena
10/17/2024
7:56
Learn Programming Technique C to Master Skills - Nested If Statement Program
Tutorials Arena
10/12/2024
12:25
Learn Programming Technique C to Master Skills - Call By Reference Program
Tutorials Arena
11/8/2024
8:45
Learn Programming Technique C to Master Skills - Explanation of Pointer - I
Tutorials Arena
11/8/2024
3:51
Learn Programming Technique C to Master Skills - First Program of Loop (Flowchart)
Tutorials Arena
10/13/2024
4:01
Learn Programming Technique C to Master Skills - Fourth Program of Loop ( Flow Chart )
Tutorials Arena
10/13/2024
7:38
Learn Programming Technique C to Master Skills - Recursive Function - I
Tutorials Arena
11/6/2024
4:14
Learn Programming Technique C to Master Skills - Explanation of Second Program
Tutorials Arena
10/8/2024