What is the real difference between arrays and pointers?

Answer Posted / rag

ARRAYS are allocated at compile time.
POINTERS are alocated at run time.
USE POINTERS FOR PROGRAM EFFICIENCY,BECAUSE MEMORY IS
PRECIOUS ONE. So to reduce memory use pointers.

Is This Answer Correct ?    16 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a header file?

638


Why is not a pointer null after calling free?

598


What is hash table in c?

574


What is methods in c?

641


#include { printf("Hello"); } how compile time affects when we add additional header file .

1424






What is #include in c?

600


What is the purpose of void pointer?

599


What is the purpose of realloc()?

672


What is the advantage of a random access file?

639


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

2226


How to delete a node from linked list w/o using collectons?

2089


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

648


What is call by value in c?

558


Write a program to generate random numbers in c?

664


What are volatile variables in c?

521