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



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

Answer / 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

More General Aptitude Interview Questions

In a fraction, if 1 is added to both the numerator at the denominator, the fraction becomes 1/2. If numerator is subtracted from the denominator, the fraction becomes 3/4. Find the fraction.

0 Answers   Accenture,


Find the total number of squares in 1/4 of chess board ?

0 Answers   IBM, TATA,


10.If 100 ! = 100 x 99 x 98 x … x 2 x 1, the maximum power of 20 which will divide 100 ! is 1] 21 2] 22 3] 23 4] 24 Plz Explain

3 Answers   Hewitt, IBM,


In a group of 15 students,7 of them have studied Marathi, 8 of them have studied History, and 3 have not studied either. How many students studied both Marathi and History?

0 Answers   3i Infotech,


Mr. Sohan works for Azania Company. The company grants 1000 shares to Mr. Sohan in 2008. At that point each share is worth Rs. 100. In 2010, he decides to sell his entire stake and at that point, the value is Rs. 120 per share. The government declares that the tax to be paid is 10% of the entire profit. Due to the inflation, the value of a rupee in 2010 is equivalent to 0.8 of a rupee in 2008. In this situation, which of the following model indicates the actual tax to be paid by the investor?

0 Answers   Cap Gemini,






sir,please give question bank in SBI clerical post question in my email id-ks_chitradevi@yahoo.com

0 Answers   State Bank Of India SBI,


How to find remainder of two numbers without using (%) operator

1 Answers  


If he sells 40 mangoes, he will get the selling price of 4 mangoes extra, What is his percentage increase in profit ?

9 Answers   Infotech, L&T, Lucent,


r= 5 n = 3 . If first pole has 2 flags ,third pole has 1 flag how many ways the remaining can be arranged?

0 Answers   CTS,


Raja is twice older than raghav . If Raja was 4 years younger, raghav was 3 years older ther diff. between their ages is 12 years what is the sum of thier ages

10 Answers   HCL, TCS,


A 2D array is declared as A[9,7] and each element requires 2 byte.If A[ 1,1 ] is stored in 3000. Find the memory of A[8,5] ?

0 Answers   Accenture, BSNL,


Two cars travel in the same direction at 40km/hr at a regular distance. A car comes in the opposite direction at 60km/hr. It meets each car in a gap of 8 seconds. What is the distance between the two cars?

4 Answers   Bhel,


Categories