Difference between Arrays and Pointers

What is the difference between Arrays and Pointers?

Answer.

Arrays use subscripted variables to access and manipulate data. Array variables can be equivalently written using pointer expression.

Pointers are used to manipulate data using the address. Pointers use * operator to access the data pointed to by them.

This entry was posted on Wednesday, November 4th, 2009 at 12:41 pm and is filed under Programming Languages. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

Anti-Spam Protection by WP-SpamFree