Hello world

Exercise Unit 1: The Basics of C · ~10 min

Every C programmer starts here. Write your first program and run it.

The #include <stdio.h> line pulls in the standard I/O library so you can use printf. Don't worry about what's inside it yet, that's the next lesson. Feel free to take a look at the assembly that is produced in the hello.s file after running!

Your task

Run the program as-is, then try changing the string to print your own message.

Output
Press Run to execute your code.