Say you have a C code like this:
#include int main(){ printf("Hello, world!\\n"); printf("%d\\n", f()); } in
You probably have the warning level of your compiler set very low. So it is allowed, even if the result is undefined.