K
Kevin Bracey
In message <[email protected]>
Not as of C99. Both of your examples are illegal in C99.
Indeed. I don't think there was a Misplaced Efficiency Tuning representative
on the C99 committee, alas.
"Arthur J. O'Dwyer said:Or not even fall through -- you can insert a blank
return;
in the function for the same effect (immediate return to caller,
undefined return value).
Not as of C99. Both of your examples are illegal in C99.
In such cases, the Prime Directive of Misplaced Efficiency Tuning
dictates that we use 'return;' in place of 'return 0;', to save
the single "load" instruction.
Indeed. I don't think there was a Misplaced Efficiency Tuning representative
on the C99 committee, alas.