include ‘<stdlib.h>’ or provide a declaration of ‘exit’
snippet in c

include ‘<stdlib.h>’ or provide a declaration of ‘exit’

user3731

extern void exit();