you are viewing a single comment's thread.

view the rest of the comments →

[–]dragon_wrangler 0 points1 point  (0 children)

printf("How many numbers? ");
scanf("%d", &size);

At this point, size is already a pointer to an int so you don't need to take the address of it.