Question: (in c++) 1. Declare a pointer variable and assign a value to it. 2. Use the new operator to create a new variable in the
(in c++)
1. Declare a pointer variable and assign a value to it.
2. Use the new operator to create a new variable in the freestore.
3. Write a definition for a type called N.
4. Use the NumberPtr type to declare a pointer variable called my_point.
5. Write a definition for pointer variables that will be used to point to dynamic arrays. The array elements are of type char. Call the type CharArray.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
