Question: what is the difference between nil and null?
Answer: In short they all are 0 and nothing else. The difference is that while NULL represents zero for any pointer, nil is specific to objects (e.g., id) and Nil is specific to class pointers.