NULL is a constant with the value zero. It is typically used with pointers to signify the pointer is valid, but it does not store a valid memory address. In other words it points at nothing in particular. It is nullified. All pointers that are not currently in use must be nullified to signify the fact they are not in use.
The term empty applies to arrays that have no elements: empty arrays. We also use the term when referring to empty strings. A string is simply an array of char, but while null-terminated strings always have at least one char, the null-terminator, the string itself is empty.
What is the difference between private stafford and plus student loans?
In php mathmatical operations treat null like 0, so any number plus null equals itself. For example #!/usr/local/bin/php printf ("%d\n", null+6); printf ("%d\n", 6+null); ?> output: 6 6
A std::string is an object that encapsulates an array of type char whereas a C-style string is a primitive array with no members. A std::string is guaranteed to be null-terminated but a C-style string is not.
a pointer that is not pointing to anything
w+3=w+6 obviously doesn't equal itself... subtract w from both sides and you are left with 3=6 So the answer is NO SOLUTION, or as a set, it is the empty or null set.
Nothing.
There are no such terms in C++.
In C++ NULL is defined as 0. It's a design failure, will be fixed with a new 'nullptr' keyword.
There is no difference. Both statements are invalid.
They have different names
Examples: 1, -1, -2.5, 'a', "Hello", NULL
Address of the allocated area, or NULL.