Posts by danny • 41 points
2 posts
-
2
votes1
answer59
viewsQ: Why am I only able to manipulate files with pointers?
In the statement I always have to put FILE *Arq; If I put it without the * it presents an error. Why?
-
2
votes2
answers1433
viewsQ: Invert "string"
I have the following function: void InverterString(char *str1){ char aux[strlen(str1)]; for (int c=0; c<5; c++) aux[c] = str1[4 - c]; printf("A string1 invertida fica: %s", aux); } However, it…