#include #include typedef struct ListNode { int data; struct ListNode *next; } ListNode; int main() { printf("Hello, World! again...\n"); ListNode *head; head = NULL; for (int i = 0; i < 5; i++) { ListNode *temp = (ListNode *) malloc(sizeof(ListNode)); (*temp).data = i; //same as temp->data = i; temp->next = head; head = temp;; } ListNode *p = head; while (p != NULL) { printf("data %d\n", p->data); p = p->next; } return 0; }