Multiple choice technology platforms and products

is_null(is_valid(NULL))

  1. NULL

  2. 0

  3. 1

  4. None of the above

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

is_valid(NULL) returns 0 (false) because NULL is not valid, then is_null(0) returns 0 (false) because 0 is not null. The chain is_null(is_valid(NULL)) evaluates to is_null(0) = 0.