insertion at the end of the list to insert node at the end of the listfollow these step create nodesay make -next last -next last -next last after insertionfunction to insert node in the end of the liststruct node *addend(struct node *lastint dataif (last =nullreturn addtoempty(lastdata)/creating node dynamically