A warning appears when running a .c file in Linux: The implicit declaration is incompatible with the built-in function 'exit'

When running a .c file in Linux, it prompts Warning: Implicit declaration is incompatible with the built-in function 'exit'

 Reason: This is because the stdlib package is not introduced. It will be fine after it is introduced.

#include<stdlib.h>

 

Guess you like

Origin blog.csdn.net/m0_61232019/article/details/130218510