Do you have any idea how to compare array with pointer in C?
Submitted by: AdministratorThe 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
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
Top C Functions Questions
☺ | What is self-referential structure in C Programming? |
☺ | Tell me what is NULL pointer in C? |
☺ | What is C Programming structure? |
☺ | Tell me what is the purpose of "register" keyword in C Language? |
☺ | What is function prototype in C Language? |
Top C Programming Categories
☺ | C Functions Interview Questions. |
☺ | C Pointers Interview Questions. |
☺ | C Preprocessor Interview Questions. |