Single characters can be replaced in a string. Given the following declarations, several things are possible.
char str[25] = "cot";
char ch = 'u';
char D[25] = "pat";
This would result in D containing "put".
This would result in D containing "pet".
variable:
This would result in D containing "pot".