-3

25 6 C:\Users\DELL\Desktop\Dev C++\binary.c [Warning] incompatible implicit declaration of built-in function 'exit'

I am using Dev c++ and here as you can see it says:

incompatible implicit declaration of built-in function 'exit'

I really fed up of this error.

P.P
  • 117,907
  • 20
  • 175
  • 238

1 Answers1

0

The exit function is defined in stdlib.h library.

Then you need to add this #include <stdlib.h> line to your program

mahendra kamble
  • 1,375
  • 1
  • 14
  • 24