Challenge 1: Halving a Number
Understand how to write a function that takes a double pointer and halves the value it points to. Learn how pointer references affect the original data and common mistakes when handling pointers in C++.
We'll cover the following...
We'll cover the following...
Problem Statement
You must write the function halve() which takes in a double pointer and halves the value it points to.
The value ...