Possible Duplicate:
Why can you return from a non-void function without returning a value without producing a compiler error?
Why does gcc 4.6.1
compile the following function without a return statement?
uint32_t& siof_solution() {
static uint32_t example = (uint32_t) 7; // Doesn't really matter
// return example;
}
It returns 1
. I seen't it.