In this lesson, we have a few exercises for you based on different array initializations.

For all the challenges in this lesson, use the code editor below to add the code in the respective function for each challenge. Comment all functions except for the one that you want to call in the main() function.

Get hands-on with 1200+ tech skills courses.