Is NULL always defined as 0(zero)? Ans. NULL is defined as either 0 or (void*)0. These values are almost identical; either a literal zero or a void pointer is converted automatically to any kind of pointer, as necessary, whenever a pointer is needed (although the compiler can't always tell when a pointer is needed). - Study24x7
Social learning Network
05 Apr 2023 12:55 PM study24x7 study24x7

Is NULL always defined as 0(zero)? Ans. NULL is defined as either 0 or (void*)0. These values are almost identical; either a literal zero or a void pointer is converted automatically to any kind of pointer, as necessary, whenever a pointer is needed (although the compiler can't ...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles