3 ms·
Maybe, but it is defined for GCC: > You can store a null pointer in any lvalue whose data type is a pointer type. [0] Though, I would expect a complaint from
by shakna 1y ago
Maybe, but it is defined for GCC:
> You can store a null pointer in any lvalue whose data type is a pointer type. [0]
Though, I would expect a complaint from clang, and clang-tidy.
[0] https://www.gnu.org/software/c-intro-and-ref/manual/html_node/Null-Pointers.html https://www.gnu.org/software/c-intro-and-ref/manual/html_nod...