Brainlag
  1. C
  2. Core
14/38 lessons

Checkpoint: functions, arrays and pointers

Checkpoint40 min4 problemsPremium

Four problems on your own: walk a string with a pointer, return two answers through pointers, trace copies and addresses, and stop a runaway recursion.

The skill
Show you can use functions, arrays, strings and pointers without step-by-step help.
You make
A title-case fixer, a step tracker streak finder, a trace of copies and addresses, and a recursion that stops.

Premium lesson

£7.99 a month or £59 a year. Cancel any time.

Builds on 13 Pointer arithmetic. Free to try: C Foundations and the playground.

Step 1 of 5
exercise_1.c

You've reached the good stuff.

4 exercises in this lesson, checked as you type. Premium opens every lesson after Foundations, in all four courses.

C, 32-bit: int and pointers are 4 bytes