I am wondering what is the difference between int* array[5]
and int (*array)[5]
?
When I try the access of 2D array works with both of them. I could even accessing it with single int* array but have to multiply row*columns because they all are reserved consecutively in the memory.