I have a problem with a project. I have to make a variable size 2D array for storing some prediction error..so this is about images. The trouble is that I have to load image
You need to allocate memory dynamically. Use double pointer logic.
Ex:
int n=10; <<-u can change this. int **a; a=(int **)malloc(sizeof(*int)*n); for (int i=0;i