int a[10];what's the difference between a and &a?int apricot[2][3][5];int *t=apricot [0][1];So t is a pointer to array or a pointer to integer?apricot[0][1] means &apricot[0][1] or &apricot[0][1][0]?
int a[10];what's the difference between a and &a?int apricot[2][3][5];int *t=apricot [0][1];So t is a pointer to array or a pointer to integer?apricot[0][1] means &apricot[0][1] or &apricot[0][1][0]?
Last edited by cuicle; 09-30-2011 at 01:32 PM.
'&' in the context that you are using gived the address of, vice the value of the variable. Take a look at: Lesson 6:Pointers and Prelude's Pointer Tutorial.