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
When is a void pointer used?
What does sizeof return c?
What is assignment operator?
Why n++ execute faster than n+1 ?
What is getch () for?
How can I recover the file name given an open stream?
What are the different types of pointers used in c language?
How do I read the arrow keys? What about function keys?
What is the use of #include in c?
Why we use int main and void main?
Write a program to print all permutations of a given string.
What are the similarities between c and c++?
What is switch in c?
What are the two types of functions in c?
what is the role you expect in software industry?