Answer the following statements true (T) or false (F)

1. In C++ you can assign an expression of type double to a variable of type int
with no problem.
2. To put a character into a cstring constant that causes the output to continue on the next line, insert the escape sequence \t into the string constant.
3. If we execute this code in an otherwise correct and complete program:n = (n++) + (n++);
the value of n is guaranteed to be 3 after the second line executes.
4. If we execute the code fragment in an otherwise complete, correct program:
n = 1; cout << n++ << " " << n++ << " " << n++ << endl; the output is guaranteed to be 1 2 3.
5. C++ uses only /* */ for comments.


1. False.
2. False.
3. False.
4. False.
5. False.

Computer Science & Information Technology

You might also like to view...

You use the Merge button to combine several cells into one cell and center the text in the merged cell, which is helpful for formatting a worksheet title so that it is centered above the worksheet data.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The Package Presentation for CD feature enables you to:

A) copy a set of presentations to a folder on your computer or to a CD. B) make a copy of the PowerPoint application for backup purposes. C) print personalized handouts for an audience. D) create a CD label to accompany the presentation.

Computer Science & Information Technology

In what ways can a BI system be useful to a grocery store? 

What will be an ideal response?

Computer Science & Information Technology

The ____ dialog box is used to set values associated with a hyperlink slice.

A. Slice Type B. Slice Options C. Slice Hyperlink D. Slice Formatting

Computer Science & Information Technology