Multiple choice softskills creativity

What is the value NULL??

  1. zero only

  2. ZERO or Void Pointer

  3. Zero or void

  4. none

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In C programming, NULL is a macro that expands to either 0 or a void pointer (void*) depending on context. It represents a null pointer constant. The correct answer captures both possibilities. Option C is similar but 'void' alone is not a pointer type.

AI explanation

In many C/C++ contexts, the NULL macro is conventionally defined as the integer 0 or as a null (void) pointer constant (void*)0, depending on the compiler and language. That's why "ZERO or Void Pointer" captures both accepted representations, whereas saying it's strictly "zero only" ignores its pointer usage.