Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Is it possible to define a double pointer, like **p? What does this really mean? Can you think of a scenarios to use it?
1. 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?
2. 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?
3. Examine the following code fragment. What does the 2nd line do? Does it have any effect? Why? a. p = &x; b. *p = x;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started