Pointers and Arrays - a beginners guide
Tutorials Shared by the Internet Community
Total Hits - 27470
Total Votes - 101 votes
Vote Up - 43 votes
Vote Down - 58 votes
Domain - www.pixel2life.com
Category - C and C++/Basic Concepts
Submitted By - Shekhar
Submitted on - 2008-04-16 01:46:13
We will cover how to declare and use arrays, how to pass them to functions. We will also cover 2-dimensional arrays, and how to pass them to functions also.
The pointers section will cover, how to declare pointers, how to use them correctly(assigning values from other variables correctly), how they work hand in hand with arrays and other variables, and how to use them with functions correctly. At the end we will give a couple tips to remember when using pointers that will help prevent errors.
Arrays and Pointers are pretty easy once you get the concept of it. Many people find pointers confusing but really they arent that hard. ...