About 44,900 results
Open links in new tab
  1. What is the purpose of null? - Stack Overflow

    Feb 25, 2009 · The second (null the value) is a base data value that can be used in logical expressions to detect the logical null indicator (the previous definition) and make logical decisions in program code.

  2. Why is there a NULL in the C language? - Stack Overflow

    May 10, 2020 · 5 NULL is used to make it clear it is a pointer type. Ideally, the C implementation would define NULL as ((void *) 0) or something equivalent, and programmers would always use NULL …

  3. What is the difference between NULL, '\0' and 0? - Stack Overflow

    The null pointer is often defined as 0, but this depends on the environment you are running in, and the specification of whatever operating system or language you are using.

  4. What is null in Java? - Stack Overflow

    Apr 25, 2010 · The null reference can always be cast to any reference type. In practice, the programmer can ignore the null type and just pretend that null is merely a special literal that can be of any …

  5. What is a null statement in C? - Stack Overflow

    Nov 5, 2016 · The "null statement" is an expression statement with the expression missing. It is useful when the syntax of the language calls for a statement but no expression evaluation.

  6. c# - What does null! statement mean? - Stack Overflow

    Feb 16, 2019 · TL;DR The key to understanding what null! means is understanding the ! operator. You may have used it before as the "not" operator. However, since C# 8.0 and its new "nullable-reference …

  7. java - What does null mean? - Stack Overflow

    Oct 12, 2013 · Formally, null is a singleton member of the null type, which is defined to be the subtype of every other Java type. Excelent!!! I'm understand this. But what is null type? At the duplicate topic …

  8. C++ nil vs NULL - Stack Overflow

    Yes. It's NULL in C and C++, while it's nil in Objective-C. Each language has its own identifier for no object. In C the standard library, NULL is a typedef of ((void *)0). In C++ the standard library, NULL is …

  9. pointers - Is NULL always zero in C? - Stack Overflow

    Mar 27, 2012 · The null pointer constant is always 0. The NULL macro may be defined by the implementation as a naked 0, or a cast expression like (void *) 0, or some other zero-valued integer …

  10. ?? Null Coalescing Operator --> What does coalescing mean?

    SQL's COALESCE completely ignores the values after the first non-null one, and the null-coalescing operator ignores the right operand if the left operand is non-null. It's more than a bit of a stretch …