SyntaxFix
Write A Post
Hire A Developer
Questions
char ch = 't'; char chArray[2]; sprintf(chArray, "%c", ch); char chOutput[10]="tes"; strcat(chOutput, chArray); cout<<chOutput;
OUTPUT:
test