I m a programming student trying to better understand pointers, one of the things I learned is that you can set a pointer to NULL. My question is, what s the difference between these two statements? When would each of them return true/false?
if (some_ptr == NULL)
if (*some_ptr == NULL)
Thanks!