In that case, the contents of pointer gonzo - a 4-byte memory address - live in the data segment. The actual string it points to does not, however.
在这个示例中,指针在数据段中占用了4个字节,但是指针所指向的字符串则不在数据段中。
That is the address in memory in the heap of the first byte that the user typed in.
那是用户输入的字符串第一个字节,内存中堆的地址。
应用推荐