Printing null pointers with %p is undefined behavior? – stackoverflow.com

Is it undefined behavior to print null pointers with the %p conversion specifier? #include <stdio.h> int main(void) { void *p = NULL; printf("%p", p); return 0; } The question ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Printing null pointers with %p is undefined behavior? – stackoverflow.com"