Computer Science - Object Oriented Programming Using C++ - Discussion


What does C++ append to the end of a string literal constant?

[A]. a space
[B]. a number sign (#)
[C]. an asterisk (*)
[D]. a null character

Answer: Option D


No answer description available for this question.

Sanjay said: (Jul 6, 2011)  
Null character, ie, "\0", tells comuter that this is end of string.

Sahia said: (Jan 14, 2020)  
Literal constant is Null.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.