What is the real difference between arrays and pointers?
Answer Posted / johnson
Down at the lowest level, they both store addresses, there is
no difference. The difference is simply how the C language
allows you to use them, specially with multi dimensional
arrays. Single dimemsion arrays and pointers are practically
interchangeable.
| Is This Answer Correct ? | 37 Yes | 47 No |
Post New Answer View All Answers
Who is the founder of c language?
Can one function call another?
What are different types of operators?
What does 1f stand for?
How do I read the arrow keys? What about function keys?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
What is unary operator?
What is a structure member in c?
What is double pointer?
When is a void pointer used?
What do you mean by a sequential access file?
Can include files be nested? How many levels deep can include files be nested?
What is a dynamic array in c?
What does void main () mean?
Are the variables argc and argv are always local to main?