Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- int main(){
- string str1 = "12";
- string str2 = "51";
- string s;
- s = str1+str2; // 1251 0r 63 ??
- cout<<"s value is : "<<s<<endl;
- string a = "hello I am Vai";
- a = a + "bhav";
- cout<<"a value is : "<<a<<endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement