Question

What does the following preprocessor code do?
#if !defined(NULL)
#define NULL 0
#endif
a) The code is incorrect, so it generates an error at preprocessor time.
b) The code ensures that NULL is always 0.
c) The code defines NULL to be 0 only if NULL is undefined.
d) The code ensures that NULL is defined throughout the entire program file.

Answer

This answer is hidden. It contains 3 characters.