0
How to add 2 arrays into user defined function
4 Antworten
+ 2
int * addTwoArray(int * a,int *b,int size)
{
//array a and b must be of same size
int *c=(int)malloc(sizeof(int)*size);
for(int i=0;i<size;i++)
{
c[i]=a[i]+b[i];
}
return c;
}
0
plz do this whole program
0
plz do this whole program
0
plz do this whole program