Strings in C are not written as "string", but as character arrays. If you want a string of fixed length, you can have something like char s[size];
. If you want a string to not be constrained to that fixed length, you can just omit size, for example like char s[] = "string";
.