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
List some of the static data structures in C?
What is difference between structure and union in c?
State the difference between x3 and x[3].
How to write a code for reverse of string without using string functions?
What’s a signal? Explain what do I use signals for?
how should functions be apportioned among source files?
can we implement multi-threads in c.
What is the symbol indicated the c-preprocessor?
What are c identifiers?
How to explain the final year project as a fresher please answer with sample project
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
What is a good data structure to use for storing lines of text?
Where are c variables stored in memory?
What is the process to create increment and decrement stamen in c?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?