StackOverflow 文档 C++ 教程 指针 指针 Created: November-22, 2018 在同一行上声明多个指针时要注意问题。 placeholderCopyint* a, b, c; //Only a is a pointer, the others are regular ints. int* a, *b, *c; //These are three pointers! int *foo[2]; //Both *foo[0] and *foo[1] are pointers. 指针基础知识