Im trying to use pointers to manipulate an array of ints. Whats wrong with this code?

0
Posted

Im trying to use pointers to manipulate an array of ints. Whats wrong with this code?

0

ip = array; printf(“%d\n”, *(ip + 3 * sizeof(int))); I expected the last line to print 3, but it printed garbage.

Related Questions