Is this code valid? Why or why not?
| Code: |
| void Ex1_2()
{ const string exclam = "!"; const string message1 = "Hello" + " World" + exclam; cout << message1 << endl; } |
