Is NULL always equal to 0(zero)? Ans. The answer depends on what you mean by "equal to." If you mean "compares equal to," such as if ( /* ... */ ) { p = NULL; } else { p = /* something else */; } /* ... */ if ( p == 0 ) then yes, NULL is always equal to 0. That's the ...
See more
Download the Study24x7 App, so you can connect and collaborate.