i have a head variable
i initialize a temporary variable "t" wich holds the head
and i do a for loop till the "t" variable reaches NULL
in that case i do malloc and put my new values in the new node
the problem is that its not working write from the start
after the for loop ends (creating a second node)
and i do malloc
i look at the compiler and it shows me that the next node after head is NULL
although i just now did malloc
and even when i put values to "t"
they next of the head is still NULL
??