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:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,