If you want to store a sequence of characters, you would typically use a ______.

  • array
  • char
  • double
  • string
In C++, the string data type is used to store a sequence of characters, such as words or sentences. It provides convenient methods for working with text data, unlike other data types like char or int.
Add your answer
Loading...

Leave a comment

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