Skip to content

Part 1

The Beginner Path — Core Concepts

Core language fundamentals from Hello World through strings.

  1. Lesson 1 Hello, World! Welcome to your first lesson in C! The journey to mastering C is challenging but incredibly rewarding. It all begins with this single step.
  2. Lesson 2 Variables and Data Types In the last lesson, we printed a fixed message. To write useful programs, we need a way to store and manipulate data that can change. This is where…
  3. Lesson 3 User Input So far, our programs have been one-way streets: they run and print things without any input from the outside world. To build truly useful tools, we…
  4. Lesson 4 Basic Operators In programming, an OPERATOR is a special symbol that performs an operation on one or more values or variables (called OPERANDS). For example, in 5 +…
  5. Lesson 5 Conditional Statements Our programs so far have been linear; they execute every line of code from top to bottom in the same order every time. To create powerful and…
  6. Lesson 6 Loops Imagine you needed to print "Hello!" five times. You could write:
  7. Lesson 7 Functions As programs grow larger, putting all the code inside the main function becomes messy, hard to read, and difficult to maintain. If you have a task…
  8. Lesson 8 Arrays So far, we have only used variables that can hold one value at a time. For example, int score = 100;. But what if you need to store the scores for an…
  9. Lesson 9 Strings Up to this point, we've only seen string "literals" (text in double quotes) used directly in printf. We haven't stored or manipulated them.

Search the course

Type at least two letters. Press / anywhere to search.

↑ ↓ to choose, Enter to open. On a lesson, j and k go to the next and previous lesson.