zeroIt is a function that takes one argument and returns no value. The function stores the value 0 back into the parameter. x is an int variable that has been declared. Write a statement that sets the value stored in x to zero by invoking the function zeroIt.
LANGUAGE: C++
CHALLENGE:
zeroIt is a function that takes one argument and returns no value. The function stores the value 0 back into the parameter. x is an int variable that has been declared. Write a statement that sets the value stored in x to zero by invoking the function zeroIt.
SOLUTION:
zeroIt(x);