Answers

Question and Answer:

  Home  C Functions

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

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.

 216 views

More Questions for you: