what`s the error message bout ?
Code:
#include <stdio.h>
void main()
{
int size1,size2;
printf("size of array_1 = ?\n");
scanf("%d",&size1);
printf("size of array_2 = ?\n");
scanf("%d",&size2);
int *ptr1=malloc(size1*sizeof(int)), *ptr2=mlloc(size2*sizeof(int));
}
Comment