When a string is declared as a character array, the string must be terminated with a ________.

  • comma
  • null character
  • semicolon
  • space
In C, a string is a sequence of characters terminated by a null character (''). This null character signifies the end of the string.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *