3 lines
87 B
C
3 lines
87 B
C
int *array = malloc (sizeof(int) * 20);
|
|
....
|
|
array = realloc(array, sizeof(int) * 40);
|