Practice · 2 of 3
Three-Way Rotate
CHALLENGE
Difficulty: beginner+25 XP
Implement void rotate3(int *a, int *b, int *c) that shifts values one step: a gets b's value, b gets c's, c gets a's ORIGINAL value.
Press Submit to check your solution.
Back to lesson: Practice: Pointer Surgery