In the course of concentrating study of pointers I concocted the following
construction:
int one,two,three, four, five, six, seven;
int *arrayptr[7] = {&one,&two,&three,&four,&five,&six,&seven};
Evidently this is legal because my Borland Version 3 compiler doesn't
complain. But then, I tried several ways to try to use these addresses to
display numbers and can't find the right combination. I'm sure it's simple
for you guys. Please show me how I can access one of the values instead of
an address. If I know that I can code a loop - I think!!
Thanks.
Sincerely
Frank
---
---------------
* Origin: Maybe in 5,000 years (1:396/17.2)
|