How many chars can be in a char array?

后端 未结 6 743
广开言路
广开言路 2020-12-01 12:40
#define HUGE_NUMBER ???

char string[HUGE_NUMBER];
do_something_with_the_string(string);

I was wondering what would be the maximum number that I co

6条回答
  •  眼角桃花
    2020-12-01 13:10

    You can use malloc() to get larger portions of memory than normally an array could handle.

提交回复
热议问题