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...

Which of the following is the television broadcast standard for most of the Asian countries?

A. NTSC B. PAL C. SECAM

Computer Science & Information Technology

A(n) ____________________ printer can print on both sides of the paper.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A document that is in read-only mode can not be printed

Indicate whether the statement is true or false

Computer Science & Information Technology

The Scenario Manager enables you to add, edit, and delete scenarios

Indicate whether the statement is true or false

Computer Science & Information Technology