Basic Question On C

Discussion in 'C' started by naiya, Jun 11, 2007.

Thread Status:
Not open for further replies.
  1. naiya

    naiya New Member

    Joined:
    Jun 11, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Why are some functions defined in more than one header file? Like malloc() is defined in malloc.h and alloc.h,why? And exit() is defined in process.h and stdlib.h ,why?
    Plz reply as soon as possible.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice