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
Is there a way to switch on strings?
What is the explanation for the dangling pointer in c?
What is the purpose of void pointer?
Is a house a shell structure?
Differentiate between the expression “++a” and “a++”?
How are structure passing and returning implemented?
What are categories used for in c?
Why doesnt that code work?
Is null always defined as 0(zero)?
How can I invoke another program or command and trap its output?
What is the meaning of typedef struct in c?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
How can I make sure that my program is the only one accessing a file?
List some of the dynamic data structures in C?
Do string constants represent numerical values?