Given the following declaration:
What is the difference between:
Hint: two of them are identical, the other is very different, but if you print them:
printf(“%p, %p, %p\n”, foo, &foo, &foo);
they’ll all print the same value.
The first and third are both pointers to int. The second is a pointer to an array of ten ints.
They all have the same value, but if you add one to the first and third, you increment by the sizeof(int), if you add one to the second you increment by
They have the same value, but they have different types.