delete-node

What is wrong with this linked list delete tail node function?

I have written this function to delete the last node of a singly linked list. The problem is, it is able to delete all the nodes except the first/starting node. What is missing from this code snippet? Please answer my particular problem. #include <stdio.h> #include <stdlib.h> struct Node { char CharContent; struct Node *...