The following code,according to me should run successfully,but fails at runtime.I don\'t get the reason:
void main()
{
int arr[5][3]={1,2,3,4,5,6,7,8,9,10,1
With the line
int **p=&m
you create a pointer to a pointer to an integer.
Then, you add one to the address - one memory address, that is, not one times the number of bytes to point to the next integer.
Then you deference it twice: