0
String = Variable?
Is a string like a variable?
4 Réponses
+ 1
Jojo, don't forget the string end character '\0'
char s[] = {'H','e','l','l','o','!','\0'}
0
yep, string is a variable type
- 1
A string is an array of type char.
string a="Hi!"; same as :
char b[]={'H', 'i', '!', '\0'};
If you want more informations ask
- 1
Ow, of course !