pwncollege
DojosLeaderboardCommunity
Back to intro-re-pwn~5933fc84

C Warmup

intro-re-pwn~5933fc84
0/5 challenges completed

Practice the parts of C that appear in later challenges: types, pointers, strings, and memory.

These challenges work backwards from the rest of the dojo: you write a small C program and the challenge grades it. Run a challenge with no arguments to read your task, then compile and submit:

/challenge/c-compile
nano ~/solution.c
gcc ~/solution.c -o ~/solution
/challenge/c-compile ~/solution

Each challenge tests your program on randomly chosen inputs, so typing the answers in will not work. Suggested order: c-compile, c-types, c-pointers, c-strings, c-memory.

Start here: C from zero
Why learn C first
From source file to running program
Pointers and memory in one page

Challenges

1
Compile a C Program
2
C Types
3
Pointers
4
Strings
5
Memory