0
Create an array which size changes as you input values ?
Well Hello, Does anyone know if it possible to create an array which size changes when you input its elements ? Thanks in advance, A
3 Respostas
+ 4
In c,
There's no built-in dynamic array, you'll just have to write one yourself. You can make it by using dynamic memory allocation:
An example:
https://code.sololearn.com/cdWU2IqJbIg4
Reference:
https://www.geeksforgeeks.org/what-is-dynamic-memory-allocation/
+ 1
Ambre Rouquié How about a dynamic array?
0
Hey all, thank you very much for your answers !