1. Technology

Definition of NULL

By

Definition:

NULL is a built in constant which has a value of 0. It is also the same as the character '\0' used to terminate strings in C

Null can also be the value of a pointer which is really the same as 0 unless the CPU supports a special bit pattern for a null pointer.

In a database, the value null means that no value exists. The Language C# deals with this by having a nullable operator so for example an int value that is read from a database can be declared as int? to show that it can take a null value.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Examples:
Without a NULL character, a string will not be correctly terminate causing problems.
Top Related Searches
  • null character
  • glossary
    1. About.com
    2. Technology
    3. C / C++ / C#
    4. Glossary
    5. Definition of NULL in C / C++ / C#

    ©2014 About.com. All rights reserved.