Question: a. Is it possible to define a double pointer, like **p? What does this really mean? Can you think of a scenarios to use it?
a. Is it possible to define a double pointer, like **p? What does this really mean? Can you think of a scenarios to use it? Are ***p or ****p meaningful/useful?
b. Let us say that ip is a pointer pointing to an item in an integer array of length 30. Which of the following expressions point to a valid item within the array: ip[-2] or ip[2]? Why?
c. Examine the following code fragment. What does the 2nd line do? Does it have any effect? Why?
p = &x;
*p = x;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
