Code:#include<stdio.h> #include<string.h> #include<ctype.h> #include<stdlib.h> struct node { struct node *next; int nodevalue; }; struct node *start,*tail; struct node *createlist(int x); main() { int i; struct node * temp1; start=(struct node *)malloc(sizeof(struct node)); tail=start; createlist(48); createlist(65); createlist(98); temp1=start->next; for(i=0;i<1;i++) temp1=temp1->next; printf("value is %d ",temp1->nodevalue); getch(); } struct node *createlist(int x) { struct node *temp; if(temp=(struct node *)malloc(sizeof(struct node))) { temp->nodevalue=x; temp->next=NULL; tail->next=temp; temp=tail; return tail; } if(tail==start && tail->nodevalue==NULL) { printf("list empty"); } else printf("memory shortage"); return NULL; }