C Program to Replace All Occurrences of a Character by Another One in a String
Here we'll see how to replace all occurrences of a character by another one in a string. Read also: C program to remove all occurrences of a character. #include <stdio.h>…