only by declaring head and then doing head.x=100 is wrong............because
head is only apointer that can store address of only a list type of
variable...............whwn we allocate memmory by malloc or new then you
can do head->x=100..........and head.x  is wrong ...........use either
head->x=100 or (*head).x=100

*UTKARSH SRIVASTAV
CSE-3
B-Tech 3rd Year
@MNNIT ALLAHABAD*

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to