Monday 27 August 2012

C program addition of array | Array Addition in c language

 Addition of two array using define , Example

Addition of two array using define
#include
#define m 10
#define n 10
void main()
{
int a[m][n],i,j,x,y;
clrscr();
printf("\nEnter number of rows and columns");
scanf("%d%d",&x,&y);
for(i=0;i
{
for(j=0;j
scanf("%d",&a[i][j]);
}
printf("\n\n\n");
for(i=0;i
{
for(j=0;j
{
printf(" %d",a[i][j]);
}
printf("\n\n");
}
}
Addition of two array using define in c code
Share This
Previous Post
Next Post

FYJC XI standard online admisson Process and declaraton of Merit list . Cut off List For prevous year also . 10 Th Results onlne declaraton Maharashtra Region .

0 comments: