Posts by João Carlos • 31 points
1 post
-
3
votes1
answer9629
viewsQ: This error tells: "Return makes Pointer from integer without a cast"
int *aloca_vetor(int MAX){ int i,*vetor; for ( i = 0; i < MAX; ++i) { vetor[i] = (int*) calloc (1, sizeof(int)); } return (vetor); Error: projeto.c:13:15: warning: assignment makes integer from…
pointerasked João Carlos 31