here i have taken c1 and c2 as strings and the output was that these two concatenated in a single string
c1 = a c2 = b OUTPUT: ab
so ,can we say that + concatenates strings but in case of characters it impliciltly type cast the characters ?
#include
using namespace std;
int main(){
string c1,c2;
cin>>c1>>c2;
cout<<c1+c2;
return 0;
}