Strings | Sololearn: Learn to code for FREE!



What is the use of strings in c++ ? Why and where are they used?

3/3/2020 8:39:51 AM

San Ket

2 Answers

New Answer


Strings are sequence of characters and are used everywhere for e.g the question you have written is using strings. C++ supports C style strings which are array of character with null terminator at the end. And C++ strings which is a class. You make objects of it to represent your data.