August 2002
Beginner
1122 pages
22h 1m
English
| 8. | Here are four possible versions of an output statement. Assuming that the value of the string variable called name is “Joe Smith”, what does each one of them do?
cout << "That is very old, " << name << ". " << endl; cout << "That is very old, " << name << '. ' << endl; cout << "That is very old, " << name << "." << endl; cout << "That is very old, " << name << '.' << endl; |
Now it's time for some review on what we've covered in this chapter.
Read now
Unlock full access