Displaying 1 result from an estimated 1 matches for "ntam".
Did you mean:
jtam
2005 Dec 29
1
Problems with calloc function.
...temp4 = (int *)calloc(col,sizeof(int));
if(temp4 == NULL){
printf("\n\n No Memory4!");
exit(1);
}
int *cvector;
cvector = (int *)calloc(col,sizeof(int));
if(cvector == NULL){
printf("\n\n No Memory5!");
exit(1);
}
tam=ntam;
int **matrix;
matrix=(int**)calloc(row,sizeof(int*));
if(matrix == NULL){
printf("\n\n No Memory6!");
exit(1);
}
temp=(int*)calloc(tam,sizeof(int));
if(temp == NULL){
printf("\n\n No Memory7!");
exit(1);
}
iia =...