number 1
it is initialization of pointer with adress of array array
ptr points to int array of length 10
number 2
it is initialization of two-dimensional int array with one-dimensional
you have an array of 10 pointers (because length of array is 10) and each of them points to int array with length of 10