twitter
    Find out what I'm doing, Follow Me :)

Now For An Integer Pointer

The array named "list" is assigned a series of values from 100 to 199 in order to have some data to work with. Next we assign the pointer "pt" the value of the 28th element of the list and print out the same value both ways to illustrate that the system truly will adjust the index for the "int" type variable. You should spend some time in this program until you feel you fairly well understand these lessons on pointers.


Compile and run pointer2.c and study the output.