Control Structures in C: Looping & Unconditional Control Structures
C 17
| Beginner
- 17 videos | 2h 2m 24s
- Includes Assessment
- Earns a Badge
The three main types of looping control structures in C are for loops, while loops, and do-while loops. This course provides demos for how to work with looping and unconditional control structures in C. You will begin by creating a for loop which iterates over a block of code for as long as a certain condition is true. You will then experiment with the loop condition, the value of the loop variable, and the update expression for the loop variable, before moving on to iterating over arrays using for loops. You will also create nested for loops. Next, you will use while loops to execute some code while a condition is satisfied. You will explore the loop variable and iterate over arrays, then move on to do-while loops. Finally, you will learn about the unconditional control structures such as break, continue, goto, and return keywords. These are typically used with other control structures. After completing this course, you'll be able to implement while loops, for loops, do-while loops, break statements, and continue operators.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this courseillustrate the creation and use of variables of the Boolean type in Cillustrate how loop control structures work in Ccreate for loops in Cdemonstrate the effects of changes to the loop variable and update expression in for loopsdemonstrate several possible gotchas of for loopsdemonstrate how to iterate over arrays with for loopsdemonstrate how to create nested for loopsdemonstrate how to create while loops
-
demonstrate how to work with while loopsdemonstrate the use of do-while loopsdemonstrate how to exit loops with the break statementdemonstrate how to use the break statement with while loopsdemonstrate how to use the continue operator in different scenariosdemonstrate how to use the continue operator with while loopsdemonstrate how to use the goto operatorsummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 7sUP NEXT
-
2.Introducing C's Boolean Type7m 55s
-
3.Understanding Loops in C5m 11s
-
4.Creating for Loops in C9m 3s
-
5.Experimenting with for Loops in C8m 54s
-
6.Understanding Quirks of for Loops in C9m 44s
-
7.Iterating over Arrays in C7m 18s
-
8.Using Nested for Loops in C5m 4s
-
9.Creating while Loops in C6m 19s
-
10.Experimenting with while Loops in C7m 25s
-
11.Introducing do-while Loops in C9m 37s
-
12.Using the break Keyword in C9m 37s
-
13.Creating while Loops with Break Statements in C6m 47s
-
14.Introducing the continue Operator in C8m 37s
-
15.Using the continue Operator with while Loops in C6m 3s
-
16.Skipping to Parts of Code Using goto10m 8s
-
17.Course Summary2m 36s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.