'null' is qualitative, representing the absence of quantity. Closer to the word 'void' than the number 'zero'. Example: he reduced it to nil.
'zero' is quantitative. Example: he got zero on his exam.
Answer from Wadih M. on Stack Exchange'null' is qualitative, representing the absence of quantity. Closer to the word 'void' than the number 'zero'. Example: he reduced it to nil.
'zero' is quantitative. Example: he got zero on his exam.
No, they are not the same.
In an everyday language context, 'null' can mean that something is meaningless, as in:
The agreement became null when Sam failed to fulfill his side.
In a programming/data context (though I still think this is a language question, rather than a programming question), 'null' can mean the absence of information. If you are wondering how many apples there are, 'null' means 'I don't know'. 'Zero' means that you know that there aren't any apples.
Zero always refers to a quantity.