engineering computer science MCQ #2169

In C, what is `NULL` typically defined as?

engineering computer science MCQ #2169

  1. Question 1

    Q1. In C, what is `NULL` typically defined as?

    • A) 0
    • B) (void *)0
    • C) 1
    • D) ((void *)1)

    Answer: (void *)0

    Explanation: NULL is defined as (void *)0, representing a null pointer constant. NET computer science MCQs often test this core concept.