Multiple choice

Which of the following will be adjoined to the end of a string literal constant by C++?

  1. Conditional operator ( ? )

  2. A number sign (#)

  3. An asterisk (*)

  4. A null character

  5. Comma operator (,)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The null character (also null terminator), abbreviated NUL, is a control character with the value zero.