指標
星號的位置不影響定義的含義:
/* The * operator binds to right and therefore these are all equivalent. */
int *i;
int * i;
int* i;
但是,在一次定義多個指標時,每個指標都需要自己的星號:
int *i, *j; /* i and j are both pointers */
int* i, j; /* i is a pointer, but j is an int not a pointer variable */
指標陣列也是可能的,其中在陣列變數的名稱之前給出星號:
int *foo[2]; /* foo is a array of pointers, can be accessed as *foo[0] and *foo[1] */