Solved

Which of the Following Is False for Pointer-Based Strings

Question 6

Multiple Choice

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

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions