C Language
Exercise 9 / 15
Pointers and Arrays
Medium
22 points
Use a pointer to iterate through an array and display all elements.
Pointers and arrays are closely related in C. An array name is a pointer to its first element. ptr++ advances to the next element.
Well done! 🎉
Your answer is correct! You earned 22 points.
Not quite...
Try again! You can do it.
Your code
C Language
Result