i write the following code
i make a display fucnction which display all the value of linklist
i check the value in display function by using printf
by using following statement
Expand|Select|Wrap|Line Numbers
- printf("test=%d",current->next->no)
after that
i use
Expand|Select|Wrap|Line Numbers
- while(current->next!=null)
if currnet->next->no is shown a value that means
current->next use a pointer which points to the value
thatmeans its not null.
why
Expand|Select|Wrap|Line Numbers
- current->next =null
help me guys