You don't seem to understand a simple Linked List program, before inserting the 1st node head is always null because (*ptrtohead)=&head=null, and after insertion it will have the address of the 1st...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: dotnet13 Search: Search took 0.01 seconds.
Results 1 to 7 of 7
|
Click Here to Expand Forum to Full Width |