0.1: C Keywords

Theory Unit 0: C Prerequisites · ~15 min

Welcome to C!

This is your C keyword reference. bookmark it and come back whenever you need it. Every major keyword in the language is here, organized by category, with a short explanation and working example.

On the right side of your screen, you'll see keywords.c. The file is read-only. It's a reference, not an exercise. Feel free to run it, check out the assembly tab, and explore at your own pace.

We use the C11 standard. As the course progresses, you'll learn more about how this platform works, C, and assembly concepts. Everything in this file will be covered in depth later.

What's in here?

  1. Custom Types & Structures —> struct, union, enum, typedef
  2. Storage Classes & Scope —> extern, static, auto, register
  3. Data Types & Sizes —> char, int, float, double, void, and modifiers
  4. Type Qualifiers —> const, volatile
  5. Control Flow & Loops —> if/else, switch, for, while, do
  6. Jumps & Asserts —> goto, static_assert, return

Tip:

You don't need to memorize any of this. Treat this like a dictionary. Skim it now, and return when you need to look something up.

View Only
Output
Press Run to execute your code.