题目内容

If the initial value of p is & a[0], then p+I and a+I are the addresses of array elements a[i]

查看答案
更多问题

If there is the following definition: int x[10],*pt=x; The correct reference to an x array element is ( )

A. *&x[10]
B. *(x+3)
C. *(pt+10)
D. pt+3

Address is vividly called "pointer".

The variable that holds the address of the variable is a pointer variable.

int a,b; int *pointer_1,*pointer_2; float *pointer_3; The following assignment is correct ( ).

A. pointer_3=2000;
B. *pointer_1=&a;
C. pointer_1=&a;
D. pointer_3=&a;

答案查题题库