=(struct node *)malloc(sizeof(struct node))notes if( ==nullprintf("error\ ")exit( ) -data np-link nullelse ->link insert( ->link, );/the while loop replaced by recursive call *return ( )void printlist struct node * printf("the data values in the list are\ ")while ( !nullprintf("% \ ", -data) -linkvoid main(int nint xstruct node *start null printf("enter the nodes to be created \ ")scanf("% ",& )while printf"enter the data values to be placed in node\ ")scanf("% ",& )start insert startx )printf("the created list is\ ")printlist start )lovely professional university