It will work because after returning, the line "printf("%d\n", head->data);" will be executed, which will print 3.
JeffB
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Threaded View
|
Click Here to Expand Forum to Full Width |