Do you have any idea how to compare array with pointer in C?

Submitted by: Administrator
The following declarations are NOT the same:
char *p;
char a[20];

The first declaration allocates memory for a pointer; the second allocates memory for 20 characters.
Submitted by: Administrator

Read Online C Functions Job Interview Questions And Answers