For,

root.c:6: warning: incompatible implicit declaration of built-in function ‘exit’

If you check the manpage of exit ("$ man exit"), you'll find the
synopsis to say,

SYNOPSIS
       #include <stdlib.h>

       void exit(int status);

Which means that you must include stdlib.h to use exit().

Do that to get rid of the warning.


SB
-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to