// Code derived from Stroustrup's PPP2 book// § 3.5 Assignment and initialization// -beginning on p 70#include<iostream>#include<string>usingstd::cin;usingstd::cout;usingstd::string;intmain(){stringa="alpha";// a starts out with the value “alpha”cout<<a<<'\n';//a="beta";// a gets the value “beta” (becomes “beta”)cout<<a<<'\n';//stringb=a;// b starts out with a copy of a’s value (that is, “beta”)cout<<b<<'\n';//b=a+"gamma";// b gets the value a+“gamma” (that is, “betagamma”)cout<<b<<'\n';//a=a+"delta";// a gets the value a+“delta” (that is, “betadelta”)cout<<a<<'\n';//}