C question about pointers and arrays
Posted
by Dj
on Stack Overflow
See other posts from Stack Overflow
or by Dj
Published on 2010-03-29T12:59:13Z
Indexed on
2010/03/29
13:03 UTC
Read the original article
Hit count: 295
Filed under:
c
char a[]="HELLO";
char *p="HELLO";
will a[2] and p[2] fetch the same character?
© Stack Overflow or respective owner