+ 2
What does that mean--> char[100]? Does it mean that I can only write up to 100 characters in the input?
2 Answers
+ 3
Char variable[100];
This means that you have a array of char if 100 positions (0 to 99). But you only can store a word with 99 letters because strings(array of char) will store '\0' character in last position to mark the end of your string.
Yeah by definition strings are a set of characters with \0 in end.
+ 1
Thank you very much! This helped me a lot!đ