Multiple choice

The last character in a string must be_________

  1. 0 (zero)

    • (null)
  2. empty

  3. none of the above

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

In C-style strings, the null terminator character, represented as '\0', marks the end of the string. The option provided uses a hyphen, which is a common OCR or transcription error for the backslash character.