How is memory allocated for an implicitly defined multidimensional array in C99?
问题 I'm trying to write a C99 program and I have an array of strings implicitly defined as such: char *stuff[] = {"hello","pie","deadbeef"}; Since the array dimensions are not defined, how much memory is allocated for each string? Are all strings allocated the same amount of elements as the largest string in the definition? For example, would this following code be equivalent to the implicit definition above: char stuff[3][9]; strcpy(stuff[0], "hello"); strcpy(stuff[1], "pie"); strcpy(stuff[2],