...
/Challenge: Set the Odd Elements in a Dynamic Array to -1
Challenge: Set the Odd Elements in a Dynamic Array to -1
Test your knowledge by solving a challenge in this lesson.
We'll cover the following...
Problem statement
Your task is to write a function set_odd
. In function parameters, we will pass:
-
Pointer
arr
that will point to an array of type ...