Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Programming Fundamentals/Nothing Data Type

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Overview A nothing data type is a feature of some programming languages which allow the setting of a special value to indicate a missing or uninitialized value rather than using the value 0 (zero).Wikipedia: Nullable type Discussion Most programming languages support the use of a reserved word or words to represent missing, uninitialized, or invalid values. LanguageReserved WordMeaningC++nullno valueC#nullno valueJavanullno valueJavaScriptnullno valueJavaScriptNaNNot a NumberPythonNoneno valueSwiftnilno value Key Terms NaN Reserved word used to indicate a non-numeric value in a numeric variable. Null Reserved word used to represent a missing value or invalid value. References