Solved

Which of the Following Is False for Pointer-Based Strings

Question 28

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents