Question: Q4 A) . Refer to the data structure (a particular distribution and interconnection of nodes) formed as a result of code given in Q. No.
Q4
A)
. Refer to the data structure (a particular distribution and interconnection of nodes) formed as a result of code given in Q. No. 6. Write a function, fun_ques07(int p) that can print the data of nodes between the two pointers. (Marks 12)
INSTRUCTIONS
- If p is a positive number then print nodes starting from pointer1 and ends with node to which pointer2 is pointing.
- If p is a negative number then print nodes starting from pointer2 and ends with node to which pointer1 is pointing.
B)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
