P
Paul
<quote ref: http://c-faq.com/aryptr/aryptr2.html >
The array declaration char a[6] requests that space for six characters be
set aside, to be known by the name ``a''. That is, there is a location named
``a'' at which six characters can sit. The pointer declaration char *p, on
the other hand, requests a place which holds a pointer, to be known by the
name ``p''. This pointer can point almost anywhere: to any char, or to any
contiguous array of chars, or nowhere
</quote>
I have found many other texts by the likes of Bjarne Stroustrup and many
other highly respected C+ authorities that is in agreement with the above.
So how can it be that the majority of this newsgroup disagree with all these
experts?
Are these experts somehow incorrect?
The array declaration char a[6] requests that space for six characters be
set aside, to be known by the name ``a''. That is, there is a location named
``a'' at which six characters can sit. The pointer declaration char *p, on
the other hand, requests a place which holds a pointer, to be known by the
name ``p''. This pointer can point almost anywhere: to any char, or to any
contiguous array of chars, or nowhere
</quote>
I have found many other texts by the likes of Bjarne Stroustrup and many
other highly respected C+ authorities that is in agreement with the above.
So how can it be that the majority of this newsgroup disagree with all these
experts?
Are these experts somehow incorrect?