I'm going to call it x and how do I make a pointer to an int?
我把它叫做x,我怎样声明一个int型指针?
int No. Even though the key word has changed from char to int, the * is the same and the fact that I've got a * there is saying this is a pointer to an int or a pointer to a char pointers are always the same size on a computer.
不,即使即使关键字从char变成了,指针的大小还是一样的,我用*表示这是一个int型指针,而不是char型指针,在同一台机子上,它们的大小是一样的。
Now I'm going to have another pointer to an int.
现在我声明另一个int型指针。
应用推荐