![]() |
create link list
Hi
This prg is for creating a link list .But Iam not able to understand what will last line do q->link=tmp; Code:
int create(int data) |
Re: create link list
It will assign the last node ( the one which is being created ) at the end of the q
|
Re: create link list
in temp you are taking the data to be inserted in the linked list .
so you are attaching that node as the next node of q here |
| All times are GMT +5.5. The time now is 06:48. |