If you mean the file your
C
program creates, then you might open it in
append mode, see
fopen, fopen_s - cppreference.com[
^].
On the other hand, if you mean the product(s) of the compilation process, then you should save such file(s) before compiling again (note you could automate such a task, as post-buil step).