I have problem in the following code:
int *ary = new int[2];
ary[0] = 1;
ary[1] = 2;
cout << &ary[0]; //no error
cout << &ary[0] + " " + &ary[1]; //error (expression must have integral or unscoped enum type )
I cant understand why arise error using pointer value with string(integral)