C Core Lesson 5 of 11

Pass by value in C

30 min, 4 exercisesCode

A function to swap two numbers runs, and both numbers stay exactly where they were.

The rest of this lesson is locked.

4 exercises, checked as you type.

Sign in

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