Hello!

I got one code:
Code:
int main()
{
    int *test1,a;
    
    test1=&a;
    
    test1[0]=5;
    
    cout<<test1<<endl;
    

    system("PAUSE");
    return 0;
}
How is possible that compiler lets me use array test1[0] or something even if the test1 is pointer?