Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / knowledge

A void pointer...as it can be type casted to point to any
data type.

Is This Answer Correct ?    25 Yes 4 No

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

Answer / rpr

In linked list a 'pointer' points to the next node which is written in a 'structure'. so we will use "struct node" as pointer data type.

struct node
{
void data; // void can be used here for heterogenous data
struct node *ptr;
};

Is This Answer Correct ?    7 Yes 5 No

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

Answer / ajay vikram

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 ?    0 Yes 0 No

Post New Answer

More Engineering AllOther Interview Questions

2 ships are wardroom light house one side at 30 degree and other ship other side at 45 degree. If light house has 100 m, find distance of boat from light house. and also find distance of each boat from light house

2 Answers   3D PLM,


model question papers of GrayOrange company

0 Answers   Orange,


my pc frequently rebooted on normal windows xp mode, but didnot rebooted on safemode, its works no rebooting. what problem this, pls solution.

2 Answers  


how to increase the chiller effiency?

0 Answers  


my PST is corrupt and can not be repaired, what do you do?

1 Answers   BMS,


which is better php,asp.net,jsp? and why?

0 Answers  


I am some what lagging in talking English but i love to do job as an software engineer what will i do to improve my communication skills? please give me answer..........

1 Answers  


hi i am avinash ,i am doing ma b-tech(cse) final year and i have been detained for 2years due to attendance and i will be finished ma b-tech in 6 years ,plz tell me weather i will be eligible for government jobs like bhel, drdo,or any other private companies

0 Answers  


hi this santosh sharma i want to know more question of system engineer job related.

0 Answers  


am a textile eng. frombut with major of my course including chemical eng, subjects, can i too apply to the co.?

0 Answers  


what are active and passive components

2 Answers  


Write a test case plan for a typical banking application which involves functionalities like Balance enquiry, deposit, fund transfer etc. Make your assumptions and mention the same in your answer sheet.

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4456)
  • Electrical Engineering Interview Questions Electrical Engineering (16639)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)