Printing null pointers with %p is undefined behavior? – stackoverflow.com 07:47 Posted by Unknown No Comments 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 Unknown
0 Comment to "Printing null pointers with %p is undefined behavior? – stackoverflow.com"
Post a Comment