Challenge: Set the Smallest Number 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 minimum
. In the function parameter, you will pass two values of type int
by reference, and function will set the smallest number of the two to -1.
Get hands-on with 1400+ tech skills courses.