Challenge: Multiply Array Elements by 3

Apply what you’ve learned about arrays in the coding exercise in this lesson.

Problem statement

In this exercise, you have to implement the modifyArray function.

void modifyArray(int *arr, int n);

Get hands-on with 1400+ tech skills courses.