Under most compilers, if we use an uninitialized pointer the effect will be to use whatever bits are in the memory in which the pointer resides as if it were an address.
对大多数的编译器来说,如果使用未初始化的指针,会将指针中存放的不确定值视为地址,然后操纵该内存地址中存放的位内容。
You then increment the pointer, which makes it point to uninitialized memory, which just happens to have a zero in it.
然后增加指针,指向未初始化的内存,这恰好有一个零。
You then increment the pointer, which makes it point to uninitialized memory, which just happens to have a zero in it.
然后增加指针,指向未初始化的内存,这恰好有一个零。
应用推荐