Is "void f(int i) { return (void)i; }" legal?

Ronald Guilmette rfg at paris.ics.uci.edu
Sun Apr 8 11:44:25 AEST 1990


It's got to be a simple question if I can get the whole thing into the
subject line!

For those who missed the subject line, I'd like to know if this is legal:

	void f (int i) { return (void) i; }


// Ron Guilmette (rfg at ics.uci.edu)
// C++ Entomologist
// Motto:  If it sticks, force it.  If it breaks, it needed replacing anyway.



More information about the Comp.std.c mailing list