1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

NULL undeclared

  1. Oct 21, 2005 #1
    Hi, I'm just learning how to program in C. When I try to compile my program, I get errors saying that NULL is undeclared. I didn't think I had to declare it...
    So anyway, can anyone tell me how I go about declaring it? Thanks.
  2. jcsd
  3. Oct 21, 2005 #2


    User Avatar
    Staff Emeritus

    NULL is declared in stdio.h
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: NULL undeclared