int main() { //
int *A, *B, *C; //Arrays of pointers
int i , j , k ;
int nA, nB, nC; //Arrays size
printf("Type the arrays size (A and B): \n");
scanf("%d %d", &nA, &nB);
nC = nA + nB;
A = (int *)malloc(sizeof (int) * nA);
B = (int *)malloc(sizeof (int) * nB);
C = (int *)malloc(sizeof (int) * nC);
...
User Profile
Collapse
Profile Sidebar
Collapse
lucpatricio982
Last Activity: Oct 13 '17, 04:01 AM
Joined: Oct 13 '17
Location:
No activity results to display
Show More