Delete from String
In this program we are going to search through a string for a character and delete it from the string.
To learn basics of string in C programming Click Here.
//Taking input string from user
printf("\nEnter a string:");
//Taking character from user to delete
printf("\nEnter a Character to delete from string:");
//Accessing each element of string to perform delete operation
//After deleting user provided element moving each element one step forward to fill //it's place
printf("\nString after deleting character:\n");
For More GTU C Programming Lab Experiments Click Here