How to modify the program so that in case of lack of allocated memory stack reallocated memory with double size in C?
This is what I coded so far.
struct s