From the course: C Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Challenge: Find and fix the bugs - C Tutorial
From the course: C Essential Training
Challenge: Find and fix the bugs
(upbeat music) - [Instructor] Here you see Exercise File 01_07-challenge.c. It contains a bug which you might be able to see on your own, but the compiler catches it instantly. Your task is to find and fix both bugs in the code. There are two. If you can find them right away, great. Otherwise, fix the first one, which makes finding the second one easier. And don't worry if you aren't proficient with C just yet. The compiler helps you locate the bugs. This challenge should take you less than five minutes to complete because the compiler is your friend.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Coding your first program3m 18s
-
(Locked)
Challenge: Write your own code1m 5s
-
(Locked)
Solution: Write your own code1m 34s
-
(Locked)
Getting into the C language2m 29s
-
(Locked)
Reviewing code structure2m 56s
-
(Locked)
Working the C development cycle3m 11s
-
(Locked)
Challenge: Find and fix the bugs45s
-
(Locked)
Solution: Find and fix the bugs1m 38s
-
(Locked)
Exploring the preprocessor3m 25s
-
(Locked)
Understanding header files and libraries3m 19s
-
(Locked)
Adding comments2m 39s
-
(Locked)
Challenge: Build the foundation1m 13s
-
(Locked)
Solution: Build the foundation1m 30s
-
-
-
-
-
-