how to check if pointer doesnt exist in c code example Example: c check if null int * some_ptr; if (some_ptr == NULL){ } else { }