Practice · 3 of 4
swap via Pointers
CHALLENGE
Difficulty: beginner+25 XP
Implement void swap(int *a, int *b) exchanging the two ints the pointers aim at.
Press Submit to check your solution.
Back to lesson: Practice: Address Practice
Practice · 3 of 4
Implement void swap(int *a, int *b) exchanging the two ints the pointers aim at.
Back to lesson: Practice: Address Practice