Which of the following is false for pointer-based strings?

a. A string may include letters, digits and various special characters (i.e., +, -, * ).
b. A string in C++ is an array of characters ending in the null character ('\0').
c. String literals are written inside of single quotes.
d. A string may be assigned in a declaration to either a character array or a variable of type char *.


c. String literals are written inside of single quotes.

Computer Science & Information Technology

You might also like to view...

The setMaximumRowCount method is used for:

a. Button. b. JComboBox. c. JRadioButton. d. JToggleButton.

Computer Science & Information Technology

The B language was implemented for what specific machines? Was it in use after the C language was standardized?

What will be an ideal response?

Computer Science & Information Technology

The TreeSet class is built upon a backing instance of the TreeMap class. Discuss the advantages and disadvantages of this strategy for reuse.

What will be an ideal response?

Computer Science & Information Technology

All of the following are personal printer preferences EXCEPT ____.

A. paper size B. paper tray selection C. pages per sheet D. queue size

Computer Science & Information Technology