- #1
shermaine80
- 30
- 0
May i know the difference between
(1) char a[] = "string literal"
(2) char *p = "string literal"
char a[] is a array which will include the word "string literal"
whilw char *p is a pointer that points to a address that store the words "string literal"?
Is that correct? Please advise.
(1) char a[] = "string literal"
(2) char *p = "string literal"
char a[] is a array which will include the word "string literal"
whilw char *p is a pointer that points to a address that store the words "string literal"?
Is that correct? Please advise.