I'm new to programming and am having difficulty with arrays. I've declared the array but when I go to print an element of the array I get a very different number (possibly a memory address?).
#include <stdio.h>
int main()
{
int array[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
printf("%d", &array[3]);
return 0
}
Then it prints 6356748 instead of "3." What am I doing wrong?