why?

I was going through tutorials, i thought intbilly [2][2]; = 2d array of 2 x 2, but when i compile it, it gives me 00D7138 which i don't know what is that.
#include <iostream>
using namespace std;

int billy [2][2];


int main ()
{
cout<<billy<<endl;
}
cout<<billy<<endl; What is the output that you were expecting?

It gives you the memory position where your array starts
Topic archived. No new replies allowed.