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
Explain what happens if you free a pointer twice?
ATM machine and railway reservation class/object diagram
Why is a semicolon (;) put at the end of every program statement?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
List the different types of c tokens?
Is c pass by value or reference?
What is the role of && operator in a program code?
Where local variables are stored in c?
Why can arithmetic operations not be performed on void pointers?
Explain the use of bit fieild.
in iso what are the common technological language?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
What are directives in c?
What is array of structure in c?
Is array name a pointer?