Possible Duplicate:
What are the barriers to understanding pointers and what can be done to overcome them?
i am really not familiar to c and pointers, I want to understand what is going on here :
typedef struct {
int q[QUEUESIZE+1];
int first;
int last;
int count;
} queue;
init_queue(queue *q)
{
q->first = 0;
q->last = QUEUESIZE-1;
q->count = 0;
}
Is that correct to think that : q->first = 0 implies that if one assign to the '0' address some value 'val', then *(q->first) will return 'val' ?