What is difference between array and pointer in c?



What is difference between array and pointer in c?..

Answer / Dolly Rani

"An array is a collection of elements of the same data type stored in contiguous memory locations, accessed using an index. A pointer is a variable that stores the memory address of another variable or value. While arrays can be thought of as implicit pointers, pointers are more flexible and can point to variables of any data type."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

In C, What is the #line used for?

3 Answers  


How can I call a function with an argument list built up at run time?

1 Answers  


plz let me know how to become a telecom protocol tester. thank you.

1 Answers  


Do you know the purpose of 'register' keyword?

1 Answers  


What does %p mean c?

1 Answers  


How can a number be converted to a string?

2 Answers  


What is the difference between null pointer and the void pointer?

3 Answers  


In which language linux is written?

1 Answers  


What are the preprocessors?

9 Answers   HP,


how c source file in converted to exe file

5 Answers   KPIT,


Is return a keyword in c?

1 Answers  


program to print upper & lower triangle of a matrix

2 Answers   TCS,


Categories