What is the real difference between arrays and pointers?

Answer Posted / revathi

Array supports static memory allocation in the sense the memory size is allocated before it can use
Pointer supports dynamic memory allocation in the sense the memory is resized

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define the scope of static variables.

608


about c language

1608


How main function is called in c?

633


What is calloc()?

633


What's the right way to use errno?

628






in iso what are the common technological language?

1639


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

615


How can I list all of the predefined identifiers?

583


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1415


Which is the best website to learn c programming?

587


How many keywords are there in c?

596


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1140


Tell me can the size of an array be declared at runtime?

601


What does the format %10.2 mean when included in a printf statement?

1094


How many levels of pointers can you have?

709