+ 2
Sir what is string
plz explain
3 Answers
+ 1
Oh my. What is that? int string? No.
#include <string>
string text = "Hello";
A string is quite literally a string of characters; a sentance.
0
thanks
- 1
it is a datatype
used for names
specially..
for ex:
int string=hi
cout<<string;
Output
hi