Chasing Pointers

Getting Serious

Each challenge gives you a C program at /challenge/prog.c. Read it, figure out what it prints, then run /challenge/run and type your answer.

  • If it prints an address, answer with & and the variable's name, like &somevariable.
  • If it prints a random garbage value, like from an uninitialized variable, just answer garbage.
  • Press Ctrl+C to skip the animation (I don't recommend doing it though) :)

5 challenges

Challenges

CHALLENGE 01

The impostor

— solves

If your answer came instantly, it's probably wrong. Think again.

CHALLENGE 02

Plot twist

— solves

Everything here is exactly what it looks like. Or is it?

CHALLENGE 03

Starry eyes

— solves

Too many stars? Breathe. It's not as scary as it looks :)

CHALLENGE 04

Nice try

— solves

Good job makin' it till here. What could possibly go wrong now?

CHALLENGE 05

Spot the difference

— solves

Your confidence is cute :)