+ 2

Sir what is string

plz explain

1st Oct 2016, 4:59 AM
faisal
3 odpowiedzi
+ 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.
1st Oct 2016, 11:34 AM
Cohen Creber
Cohen Creber - avatar
0
thanks
1st Oct 2016, 7:26 AM
faisal
- 1
it is a datatype used for names specially.. for ex: int string=hi cout<<string; Output hi
1st Oct 2016, 7:09 AM
rahul negi
rahul negi - avatar