daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main(int argc, char *argv[])
  6. {
  7. string a = "2";
  8. string b = "5";
  9. string c = a+=b;
  10. string d = b+=a;
  11. cout<<"A+=B = "<<c<<"\n";
  12. cout<<"B+=A = "<<d<<"\n";
  13. }
RAW Paste Data
Top