Pointers into Arrays

Q.

What is the output of this program?

1.
   #include 
2.   
   using namespace std;
3.   
   int main()
4.   
   {
5.   
       int arr[] = {4, 5, 6, 7};
6.       
       int *p = (arr + 1);
7.       
       cout << arr;
8.       
       return 0;
9.       
   }
A. 4
B. 5
C. address of arr
D. 7

Answer : Option C

Explanation :

As we couted to print only arr, it will print the address of the array.
Output:
$ g++ point2.cpp
$ a.out
0xbfb1cff