Pointers and Arrays - a beginners guide

Tutorials Shared by the Internet Community


  Top Tutorials     New Tutorials     Submit     Login     Register  

Pointers and Arrays - a beginners guide

Arrays and Pointers are pretty easy once you get the concept of it.
  • Total Hits: 22137

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating


  • Total Votes: 150 votes

  • Category: C and C++/Basic Concepts

  • Submitted on: 2008-04-16 01:46:13

  • Submitted By: Shekhar

  • Set as Favorite


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.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 38%  57
 Two starsTwo star  Vote LeftVote MiddleVote Right 10.67%  16
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 12%  18
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 11.33%  17
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 28%  42

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.