You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//balance is a pointer to &balance[0], which is the address of the first element of the array balance. Thus, the following program fragment assigns p as the address of the first element of balance
double *p;
double balance[10];
p = balance;
//*(balance + 4) is a legitimate way of accessing the data at balance[4].
//Once you store the address of the first element in 'p', you can access the array elements using *p, *(p+1), *(p+2) and so on.