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 term ________ refers to malicious software, such as viruses, adware and spyware

Fill in the blank(s) with correct word

Computer Science & Information Technology

When you import another calendar, you replace all of the appointments, events, and meetings in your saved calendar with those in the imported one.

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

Computer Science & Information Technology