Write the definition of a function doubleIt, which doubles the value of its argument but returns nothing so that it can be used as follows: int x=5; doubleIt(&x); /* x is now equal to 10 */

Write the definition of a function doubleIt, which doubles  the value of its argument but returns nothing so that it can be used as follows: int  x=5; doubleIt(&x); /* x is now equal  to 10 */

LANGUAGE: C++

CHALLENGE:

Write the definition of a function doubleIt, which doubles the value of its argument but returns nothing so that it can be used as follows: int x=5; doubleIt(&x); /* x is now equal to 10 */

This content requires that you purchase additional access. The price is $2.99 or free for our Make Life Easier and 30 Days – Not Recurring members.

Purchase this Content ($2.99) Choose a Membership Level