In a computer program, a null is a value and an identifier. Null is a built-in item with a value of zero. It is the same as the 0 characters used to cut cables in C.Null and can be a pointer value, similar to zero, unless the CPU supports a specific identifier pattern.
In the database, zero is a value. Valuable value means no value exists. When used as a value, null is not a memory location. Only clues that control memory locations. Without a blank letter, the cord would not break properly, which could cause problems.
System C and C ++, the pointer, holds the memory space. A null identifier is an identifier that intentionally points to nothing. If you do not have an address to assign a reference to, you can use null. Valuable value avoids memory leaks and interruptions in applications that contain clues. An example of a useless identifier in C is:
#include
int main ()
{
int * ptr = NO;
print ("Ptr value is% u", ptr);
return 0;
}
Note: In C, null macro may have a void * type but this is not allowed in C ++.
In C #, null means "nothing." Details about its use in C # include:
You can't use 0 instead of not working in your programs even if null is represented by a value of 0.
You can use null for any type of reference including layouts, cables, and custom types.
In C #, null is not the same as a fixed zero.
undefined
object
false
true