difference between string object and string variable
A string variable is an array of characters. char a[10]; Which can hold any string value , that has a lenght less than or equal to the size of the character array. Whereas a string constant , is a particular string .
Write your question here. Hey. I know a lot of people talk about the difference between C-String and String. C-String is a sequence of chars stored in an array followed by a vector, and String is an object where a sequence of chars are stored in a vector.