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
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?
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...
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?
No of financial emergency announced by president
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.
Find the next number in the series 1, 3 ,7 ,13 ,21 ,31?
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
instead of multiplying by 7 to a number dividing by 7 what is the percentage of error
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
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 .
Fifty minutes ago if it was four times as many minutes past three o'clock, how many minutes is it to six o'clock?
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?
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
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?
if 2x-y=4 then 6x-y is