Answer the question
In order to leave comments, you need to log in
C++ How to change a character to another one?
How to change a character in a certain place to another one?
#include
#include
using namespace std;
int main() {
char a[]="mad";
a[2]="n";
cout << a;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question