BaseCodeByte
Back to C outline
CCBeginnerEditable example10 min

C Basics

C Basics in practical C programs, with editable notebook code and a focused exercise.

Lesson notes

This lesson turns c basics into a small example you can edit, copy and run locally.

memorypointerssystems basics

Editable notebook cell

Starter code

1
2
3
4
5
6
7
8

Output

Editable example
Run the code to see output here.

Try this

Change the sample data, predict the output and note what concept changed.

Hint: Make the smallest possible edit first.