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 Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitWhy am I not dead after *repeatedly* touching a high-voltage source? – electronics.stackexchange.comApplicant refuses to give job references or CV – workplace.stackexchange.comWould a feat for expertise be balanced? – rpg.stackexchange.comcopy elision when creating object inside emplace()? – stackoverflow.comWhat is bignum-free RSA? – crypto.stackexchange.comHow can I align this equation in the center? – tex.stackexchange.com
0 Comment to "Printing null pointers with %p is undefined behavior? – stackoverflow.com"
Post a Comment