What is the real difference between arrays and pointers?

Answer Posted / sankar s

array refer data in memory location , pointer refer address
to the memory location ,pointer refer the pointee
int *a;
int b[10];
a=&b;
where a is the pointer array b is pointee which point out
the starting memory location of an array.

Is This Answer Correct ?    24 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does typeof return in c?

835


What is operator promotion?

821


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

870


Explain pointers in c programming?

861


How can type-insensitive macros be created?

924


How can I do peek and poke in c?

843


Why enum is used in c?

706


What are run-time errors?

817


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

2097


How can I list all of the predefined identifiers?

762


What is malloc and calloc?

801


List the variables are used for writing doubly linked list program.

1819


What is self-referential structure in c programming?

888


How can I do serial ("comm") port I/O?

924


What is meant by errors and debugging?

865