Interview Questions

Difference between arrays and pointers?

C Interview Questions and Answers


(Continued from previous question...)

Difference between arrays and pointers?

- Pointers are used to manipulate data using the address. Pointers use * operator to access the data pointed to by them
- Arrays use subscripted variables to access and manipulate data.Array variables can be equivalently written using pointer expression.

(Continued on next question...)

Other Interview Questions