Allocating memory and freeing correctly?

后端 未结 0 1414
梦毁少年i
梦毁少年i 2021-01-16 23:33

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         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题