Find the image of matrix

This program finds the image of matrix m1.The Y axis image is saved in matrix m2.The X axis image is saved in matrix m3. The principles of maths are considered in this programs.X co-oridate represents horizontal elements and Y co-ordinate represents vertical elements. So while evaluating the X axis image , rows of the matrix m1 are considered and the elements are copied in the matrix m3.While evaluating the Y axis image, columns of the matrix m1 are considered and the elements are copied in the matrix m2.

#include < stdio.h >
#include < conio.h > 

void main()
{
	int m1[10][10],m2[10][10],m3[10][10];
	int r,c,i,j,k;
	
	clrscr();
	printf("\nEnter r & c : ");
	scanf("%d %d",&r,&c);
	printf("\nEnter matrix of size %d X %d\n",r,c);
	for(i=0;i < r ; i ++)
	{
		for(j=0;j < c;j++)
		{
			scanf("%d",&m1[i][j]);
		}
	}
	//... get y axis image
	for(i=0;i < r;i++)
	{
		for(j=0,k=c-1;j < c;j++,k--)
		{
			m2[i][k] = m1[i][j];
		}
	}
	//... get x axis image	
	for ( j=0;j < c;j++)
	{
		for(i=0,k=r-1;i < r; i++,k--)
		{
			m3[k][j] = m1[i][j];
		}
	}
	
	printf("\nThe original matrix is\n");
	for(i=0;i < r;i++)
	{
			for(j=0;j < c;j++)
			{
				printf("%4d",m1[i][j]);				
			}
			printf("\n");
	} // for
	printf("\nThe Y axis image is \n");
	for(i=0;i < r;i++)
	{
		for(j=0;j < c;j++)
		{
			printf("%4d",m2[i][j]);
		}
		printf("\n");
	} // for
	printf("\nThe x axis image is \n");
	
	for(i=0;i < r;i++)
	{
		for(j=0;j < c;j++)
		{
			printf("%4d",m3[i][j]);
		}
		printf("\n");
	} // for
} // main