How do I get number of elements??(I hav planned to keep moving to next pointer till a get a NULL) Any other efficient way??

And the listHead is the first element of the linked list right??
and listTail,the last??

Thanks

Last edited by Yashas; 11/21/12 12:01. Reason: Made it clear

Keep smiling laugh
http://translation.babylon.com/ - Translate many languages