*returnColumnSizes=malloc(sizeof(int)*numRows); *(*returnColumnSizes+i)=i+1;// This statement is in loop
*returnColumnSizes = (int*)malloc(sizeof(int)*numRows); *(returnColumnSizes)[i]=i+1;//This statement is also in the loop same as first one
returnColumnSizes
int
*returnColumnSizes = (int**)malloc(sizeof(int*) * numRows); // see how spaces make things clearer?
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)