Challenge: Multiply Array Elements by 3
Explore how to manipulate arrays in C by implementing a function that multiplies each element by three. This lesson helps you understand pointer usage with arrays and modifying data in place, enhancing your ability to work with secondary data types in C.
We'll cover the following...
We'll cover the following...
Problem statement
In this exercise, you have to implement the modifyArray function.
void modifyArray(int *arr, int n);
You are given the ...