WordCmp.com

nil vs null

null vs nil

nil and null both are nouns.

nil is not an adjective while null is an adjective.

Word NounAdjectiveVerbAdverb
nil Yes No No No
null Yes Yes No No
As nouns, nil and null are synonyms defined as:
  • nil and null: a quantity of no importance; thing (object:), singular, negative pronoun; pronoun, thing, singular; quantifier: negative existential
Other synonyms of nil include aught, cipher, cypher, goose egg, nada, naught, nix, nothing, zero, zilch, zip, zippo.
nil (noun) null (noun)
a quantity of no importance; thing (object:), singular, negative pronoun; pronoun, thing, singular; quantifier: negative existential a quantity of no importance; thing (object:), singular, negative pronoun; pronoun, thing, singular; quantifier: negative existential
nil (adjective) null (adjective)
lacking any legal or binding force
Difference between nil and null

© WordCmp.com 2024, CC-BY 4.0 / CC-BY-SA 3.0.