@sukran dis was asked in microsoft written ?
take node *c 'll create a new node like that On Mon, Sep 12, 2011 at 11:00 AM, sukran dhawan <[email protected]>wrote: > pl tell me wat ur doin here... here u ve defined a variable node of type > struct n. > > wat does the statement node *c ??? how can u create an instance of an > instance ? > > On Mon, Sep 12, 2011 at 10:52 AM, teja bala <[email protected]>wrote: > >> struct n { int data; struct n* next}node; >> node *c,*t; >> c->data = 10; >> t->next = null; >> *c = *t; >> what is the effect of the last statement? >> >> Is dis correct? >> My Ans:- c 'll point to node t which contains garbage value in data >> fieldc and link field a null >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
