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 typedef struct in c?

823


Differentiate between static and dynamic modeling.

873


Why do we need arrays in c?

845


What are the advantage of c language?

797


what are the 10 different models of writing an addition program in C language?

1687


explain what is a newline escape sequence?

896


How can you determine the size of an allocated portion of memory?

1029


Without Computer networks, Computers will be half the use. Comment.

2084


What are the types of unary operators?

914


What is #line used for?

814


Was 2000 a leap year?

854


What are control structures? What are the different types?

873


What is structure in c explain with example?

916


what are non standard function in c

1677


What does #pragma once mean?

952