I\'ve been reading this question but I\'m not able to get the resulting code to solve the problem. How should I change this in order to make it work?
void print
In your question you are passing arguments as pointer to an array. Do as given below :
void print2(int (*array)[4],int n,int m) { int i,j; for(i=0;i