Declaring NULL in C Programming - Need Help

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 7K views
dwx1
Messages
6
Reaction score
0
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.
 
Physics news on Phys.org