Give an example of the proper way to call the following function in order to negate the variable
int num = 7;
void makeNegative(int *val)
{
if (*val > 0)
*val = -(*val);
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.