If you are using C language to implement the heterogeneous
linked list, what pointer type will you use?

Answer Posted / vivek sharma

The heterogeneous linked list contains different data types
in its nodes and we need a link, pointer to connect them.

It is not possible to use ordinary pointers for this.

So we go for void pointer. Void pointer is capable of storing
pointer to any type as it is a generic pointer type.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In a class photograph, 5 girls are sitting in the front where as 20 boys are standing behind them. The corner two positions are reserved for the tallest boys of the class. What are the number of ways the students may be arranged?

662


In a journey of 15 miles two third distance was travelled with 40 mph and remaining with 60 mph.How much time the journey takes...

899


In a cycle race there are 5 persons named as J, K, L, M, N participated for 5 positions so that in how many number of ways can M make always before N?

1197


No of financial emergency announced by president

2053


A ship went on a voyage.After it had travelled 180 miles a plane statrted with 10 times the speed of the ship. An army 50 miles long marches at a constant rate. A courier standing at the rear moves forward and delivers the message to the first person and then turns back and reaches the rear of the army as the army completes 50 miles. Find the distance travelled by the courier.

943






Find the next number in the series 1, 3 ,7 ,13 ,21 ,31?

715


Q1. Given a collection of points P in the plane, a 1-set is a point in P that can be separated from the rest by a line, .i.e the point lies on one side of the line while the others lie on the other side. The number of 1-sets of P is denoted by n1(P). The minimum value of n1(P) over all configurations P of 5 points in the plane in general position(.i.e no three points in P lie on a line) is

1829


instead of multiplying by 7 to a number dividing by 7 what is the percentage of error

708


1,2,3,4,5,6,7,8,9 station. route between any 2 station is there only if the 2 digit nob. is divisible by 3. e.g. route exist between 1 to 2 because 12 is divisible by 3 how many station have routes to 8 either direct or indirect

738


A train blows a siren one hour after starting from the station. After that it travels at 3/5th of its speed it reaches the next station 2 hours behind schedule. If it had a problem 50 miles farther from the previous case,it would have reached 40 minutes sooner. Find the distance between the two stations .

668


Fifty minutes ago if it was four times as many minutes past three o'clock, how many minutes is it to six o'clock?

771


Four Members A, B, C, D are playing a game .A person losing a game should double the amount of others .B, C, D are losing in order after three games .The amount after 3 games are A&B having 40,D is having 16&C 80.What amount did B have?

751


There are two trees in a lawn. One grows at a rate 3/5 of the other in 4 years. If the total growth of trees What is the height of the smaller tree after 2 years

758


Salary of a person is 's' per month,'x'% of salary is given as bonus, if 3 months salary is s1,s2 & s3 then what is his salary?

944


if 2x-y=4 then 6x-y is

748