Output Examples
Initializations   ch = ‘2’ firstName = “Marie”
          lastName = “Curie”
Statement           What Is Printed
               ( means blank)
cout << ch;           2
cout << “ch = ” << ch;       ch=2
cout << firstName + “ ” + lastName;   MarieCurie
cout << firstName << lastName;     MarieCurie
cout << firstName << ‘ ’ << lastName;   MarieCurie
cout << “ERROR MESSAGE”;       ERRORMESSAGE
cout << “Error=” << ch;       Error=2