Hi
Whats wrong with the following:
Code:
#include <stdio.h>

int main(void)
{
	int **ptr;
	int a, b, i, j;

	int array[2][4] = {{1,2,3,4}, {5,6,7,8}};
	
	ptr = &array[0][0];
	for(i=0; i<=1; i++)
	{
		for(j=0; j<=3; j++)
		{
			printf("%d\n", *(*(ptr + i) + j) );
		}
	}
}
I just try run it and crashed my command prompt