[Courses] Re: [C] Beginner's Lesson 12: another answer to Exercise 1 (Simple Pointers)

Lorne Gutz lgutz at vistar.ca
Tue Nov 26 11:33:29 EST 2002


WWWooooops
   this should have been   ptr = &array[0]
  and    &array[1];

sorry about that.

Lorne
>
> When you have set ptr = array[0], all you need to do is ptr++ and
> you will be pointing at array[1].
>
> cheers
> Lorne
>
>
> _______________________________________________
> Courses mailing list
> Courses at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/courses





More information about the Courses mailing list