Multiple choice technology programming languages

What character terminates all strings composed of character arrays?

  1. \0

  2. .

  3. \END

  4. None of the Above

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

In C/C++, all strings composed of character arrays are null-terminated, meaning they end with the null character '\0' (ASCII value 0). This is how functions like strlen() and strcpy() know where the string ends. The dot '.' and '\END' are not string terminators.