Code:#include <stdio.h> main(){ int a = 0; printf("a %d b",a); printf("a %x b",&a); while(1){ } }
This is a discussion on this code doesn't print any thing with gcc ?? within the C Programming forums, part of the General Programming Boards category; Code: #include <stdio.h> main(){ int a = 0; printf("a %d b",a); printf("a %x b",&a); while(1){ } }...
Code:#include <stdio.h> main(){ int a = 0; printf("a %d b",a); printf("a %x b",&a); while(1){ } }
add fflush(stdout); after the second printf(). And well, I hope an endless loop does make sense to.