Posts by Matheus Maciel • 53 points
1 post
-
5
votes3
answers1148
viewsQ: Dynamic allocation in C - allocating without knowing the total amount of elements
I have a question about the dynamic allocation in c, as to the use of the function malloc(). If we take, for example, a case of registration of a full name, as we have no way of knowing the amount…