From the course: Complete Guide to C Programming Foundations
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Challenge: Write your own code - C Tutorial
From the course: Complete Guide to C Programming Foundations
Challenge: Write your own code
(bright music) - [Instructor] Here's your challenge to see how well you understand C programming so far. Yes, you can do this. Create a source code file. A sample file is provided in the exercise files, though it's empty. Include the stdio.h header file. Write the main function. Add a puts statement that outputs a string such as, "I am a C programmer." Add the return statement. And here are some things to remember as you code this first program. All C language statements end with a semicolon. The main function statements are enclosed in braces or curly brackets. This exercise should take you about five minutes to complete.
Contents
-
-
-
Coding your first program3m 40s
-
(Locked)
Challenge: Write your own code51s
-
(Locked)
Solution: Write your own code1m 50s
-
(Locked)
Getting into the C language2m 34s
-
(Locked)
Reviewing code structure3m 52s
-
(Locked)
Working the C development cycle3m 45s
-
(Locked)
Challenge: Find and fix the bugs43s
-
(Locked)
Solution: Find and fix the bugs1m 28s
-
(Locked)
Exploring the preprocessor3m 23s
-
(Locked)
Understanding header files and libraries3m 19s
-
(Locked)
Adding comments2m 49s
-
(Locked)
Chapter challenge: Building the foundation1m 11s
-
(Locked)
Chapter solution: Building the foundation1m 38s
-
-
-
-
-
-
-
-
-
-
-