Answer:
Assuming the input string variable is named `input`, the input int variable is named `index`, and the input char variable is named `ch`:
```
input[index] = ch;
cout << input;
```
Explanation:
In C++, you can change specific elements of a string without having to overwrite the entire string (i.e. in C++, strings are mutable).