In C, a string is essentially an array of ________ terminated by a null character.

  • characters
  • floats
  • integers
  • pointers
In C, a string is essentially an array of characters terminated by a null character (''). This null character signifies the end of the string and is used to differentiate between the end of one string and the beginning of another in memory.
Add your answer
Loading...

Leave a comment

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