if the maximum capacity of character is 256 how to store character array of 1000?
问题 If the maximum capacity of character is 256 how to store character array of 1000? is it possible to declare: char s[1000]; 回答1: Yes, it is certainly possible. char s[1000]; You can think of 1000 as the "length" of the array and 256 as the "width". You get an array of 1000 char s. Each char is 8 bits (on the machine you're using, at least), and can therefore store 256 distinct values. (And, actually, it would probably be more appropriate to think of the "width" as being 8, not 256.) Here is