Are nil and null interchangeable? For example,
My bank a/c has a nil balance.
My bank a/c has a null balance.
Almost the only time you hear or see null is in the legal expression ‘null and void’, while nil normally indicates that a football team has scored no goals. If the bottom line of your bank statement shows neither a credit nor a debit, what you have is a zero balance.
NULL is used in computing most often (always?) to signify "not a value." This is different than zero: in a bank database, a zero value means no money, while a NULL value means there has been no value assigned to the balance.
This is a specialized usage, but increasingly common as more people learn to program.
Null is also used in mathematics (a null set) and science (null hypothesis). I can't think of a time when nil is used in those areas.
Etymologically, null is from French, and nil is from Latin.
Nil means zero or nought
Null means nothing or empty
In everyday life, we tend to treat these terms as equivalent. But it is sometimes important to differentiate between them. (E.g. when working with SQL database data)
Null is also used in physics and electronics. Here's a description of a Null comparator using a Wheatstone bridge. Null tends to describe something with no net value, but possibly the sum of large values of opposing signs, while nil implies a value of 0.