Ask your own question, for FREE!
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW) 14 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!
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!