This is the code for allocating memory for 2 Arrays of uknown size. N is given by the user:
K=malloc(N*sizeof(int)); if(K==NULL){ // printf("Sorry, ca