next up previous contents index
Next: Selection statements Up: INTRODUCTION Previous: Compound statementor

Expression and null statements

The void cast is not needed in an expression statement, since any value is always discarded. Some checking compilers prefer this reassurance, however, for functions that return objects of types other than void.

3 6 4


Pete Jinks
Fri Jan 19 12:31:56 GMT 1996