In case of two d array a[i][j] why cout <<a and cout <<*a is same
Please reply…
Arrays and ponter basic
Because when you declare a[2][3] , a basically represents the address of the 2 D array which is nothing but a set of 1 D array . And when you do *a it basically means you are accessing the first 1D array of a which returns the the arddress of first element of first 1D array
i hope you got the overview of this .