Ask your own question, for FREE!
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW) 7 Online
OpenStudy (anonymous):

struct node *llink; what this instruction will do

OpenStudy (shubha):

This will create a variable named llink which will store address of node type variable... typeName *name --> this says that 'name' will store address of any variable of type 'typeName'... now, typeName var; //you create a variable 'var' of type 'typeName' name = &var; // & is saying give me the address at which var is stored in memory so in the case struct node *llink; struct node newNode; //a variable of type struct node llink = &newNode; // storing the address of newNode in llink

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!