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

  1. If p is a positive number then print nodes starting from pointer1 and ends with node to which pointer2 is pointing.
  2. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!