Question: Given the following statements: int num = 6; int* ptrNum; Write C++ statements that point the variable ptrNum to num and then use ptrNum to
Given the following statements:
int num = 6; int* ptrNum;
Write C++ statements that point the variable ptrNum to num and then use ptrNum to multiple the value of num by 5 (e.g. num should hold a value of 30 when you are done).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
