Program No : 46 :

Write a program in C to print the sum of two M x N Matrix ?

                  program no  :46
purpose : sum of M x N matrix

#include
#include

main ()
{
	
	int *a, *b, *sum, i;

	int row,col;

	printf("Enter row and column Size\n");

	scanf("%d%d", &row,&col);

	a=(int *) malloc(row * sizeof(int));
	b=(int *) malloc(row * sizeof(int));
	sum=(int *) malloc(row * sizeof(int));
	for (i=0; i
}  

Back