diff --git a/ex15/ex15.c b/ex15/ex15.c index f2bfd98..1a77247 100644 --- a/ex15/ex15.c +++ b/ex15/ex15.c @@ -21,7 +21,7 @@ int main(int argc, char *argv[]) printf("---\n"); // setup the pointers to the start of the arrays - int *cur_age = (int *)names; + int *cur_age = (int *)ages; char **cur_name = names; // second way using pointers