linked list node parsing
Wonder if anyone can explain the difference between the following two expressions to allocate a node. Both expressions work perfectly well in my code, but I don't understand the reasoning for the second version.
Code:
node *temp = malloc(sizeof(node)); |
|
All times are GMT -5. The time now is 09:42 AM. |