back to working
This commit is contained in:
parent
bdeaaf48f5
commit
22e3ed5406
2
ex15.c
2
ex15.c
@ -21,7 +21,7 @@ int main(int argc, char *argv[])
|
|||||||
printf("---\n");
|
printf("---\n");
|
||||||
|
|
||||||
// setup the pointers to the start of the arrays
|
// setup the pointers to the start of the arrays
|
||||||
int *cur_age = (int*)names;
|
int *cur_age = ages;
|
||||||
char **cur_name = names;
|
char **cur_name = names;
|
||||||
|
|
||||||
// second way using pointers
|
// second way using pointers
|
||||||
|
Loading…
Reference in New Issue
Block a user