Skip to main content

Learn C

A small language close to memory and the machine.

C is a small, compiled language that works close to the machine. Operating systems, databases and embedded devices are written in it.

Your program is compiled by GCC on our server, so you see real compiler errors and real output.

Many colleges teach C first because pointers and memory are visible. Learning it makes the layers under a higher-level language easier to understand.

Start here

First program: Print “Hello, world!” with printf, then read two numbers with scanf and print their sum.

There are no C lessons yet. The compiler is free and needs no account.

Practice

Practice problemsRead a problem, write an answer and run it against the samples.

The practice problems accept JavaScript or Python. Work out the algorithm there, then write the same answer in C in the editor above.

Read more

Want the full programme with mentorship and placement? See the plans