Posts by Bruno Mecca • 1 point
1 post
-
0
votes1
answer426
viewsQ: How to change the size of a global structure vector in C?
My idea is to declare a global vector of a structure x, but I will only have the size of the vector in main. How can I declare the vector and then tell how big it is? I have an equivalent solution…