Info logo
Encyclopedia

  

Null : NUL

Home :: Up
Google
www.fastload.org

Null : NUL

Null is a term used, often in computer science, to signify nothingness.

In computer programming, null is a special value for a pointer (or reference) that is used to signify that the pointer's target isn't a valid data element. Often, 0 (zero) is used as the null value, as most operating systems consider it an error to try to access such a low memory address. Null is used in many other disciplines, and isn't just used for pointers in programming. (Example: /dev/null, a virtual device[?] on UNIX systems)

The ASCII character code with code value 0 is called a null character, sometimes denoted as NUL.

In some languages, such as LISP, the designation is called nil.

In many disciplines, the concept of null allows a three-valued logic, with null indicating 'unknown'.

Note that this isn't the same as the definition of nothing because it is more related to computer science.

See also: null set.


Refer to us with this code

This article is licensed under the GNU Free Documentation License.
You may copy and modify it as long as the entire work (including additions) remains under this license.
To view or edit this article at Wikipedia, follow this link.