Question: C++, please explain Assume pint is a pointer variable. Is each of the following statements valid or invalid? If any is invalid, why? A) pint++;
Assume pint is a pointer variable. Is each of the following statements valid or invalid? If any is invalid, why? A) pint++; B) --pint; C) pint /= 2; D) pint t= 4; E) pint += x; // Assume x is an int
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
