Is there any difference between these two declarations?

int x[10];

vs.

int* x = new int[10];

I suppose the former declaration (like the latter one) is a pointer declaration and both variables could be treated the same. Does it mean they are intrinsically the same?

Edit
Report