What is the real difference between arrays and pointers?
Answer Posted / pushpanjali panda
Arrays automatically allocate space, but can't be relocated
or resized. Pointers must be explicitly assigned to point
to allocated space (perhaps using malloc), but can be
reassigned (i.e. pointed at different objects) at will, and
have many other uses besides serving as the base of blocks
of memory.
Is This Answer Correct ? | 56 Yes | 9 No |
Post New Answer View All Answers
What are pointers? What are stacks and queues?
explain what is fifo?
Explain about block scope in c?
what are enumerations in C
What does static variable mean in c?
Explain can you assign a different address to an array tag?
Is c procedural or object oriented?
Explain about C function prototype?
can any one provide me the notes of data structure for ignou cs-62 paper
Describe how arrays can be passed to a user defined function
What is structure data type in c?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
how to count no of words,characters,lines in a paragraph.
How can you avoid including a header more than once?
what is the difference between class and unio?