this code is ok
try it...
#include<stdlib.h>
#include<stdio.h>
struct list_el {
Type: Posts; User: LPHard
this code is ok
try it...
#include<stdlib.h>
#include<stdio.h>
struct list_el {
you can print out this code
for(i=1;i<=10;i++) {
curr = malloc(sizeof(item));
curr->val = i;
curr->next = head;
head = curr;
}