notes else temp pwhile (temp-link !nulltemp temp-linktemp-link (struct node *)malloc(sizeof(struct node))if(temp -link =nullprintf("error\ ")exit( )temp temp-linktemp-data ntemp-link nullreturn ( )void printlist struct node * printf("the data values in the list are\ ")while ( !nullprintf("% \ ", -data) -linkvoid main(int nint xstruct node *start nullprintf("enter the nodes to be created \ ")scanf("% ",& )while printf"enter the data values to be placed in node\ ")scanf("% ",& )start insert startx )lovely professional university