int *a指的是定义一个指向int类型数据的指针a,
int a指的是定义一个整数变量a,
int* a跟int *a是同样的,只是int *a更严谨,
好比 ,int *a,b;只有a是指针变量
int* a,b;容易让人认为a和b都是指针