Tag Archives: linked list output
linked list prog and output
this is the program for connecting 7nodes…… #include int main(void) { struct node { int info; struct node *d; }; struct node d1,*n,*t; { int i; d1.d=(struct node*) malloc(sizeof(struct node)); printf(“\nmemory allocation for pointer p of d1\n”); printf(“\nd1.d=%d\n”,d1.d); n=(struct node*)malloc(sizeof(struct … Continue reading