Information AboutVoid Type |
| CATEGORIES ABOUT VOID TYPE | |
| data types | |
| SHOPPER'S DELIGHT | |
The void type is a product of Standard C . In earlier versions of C, functions with no specific result defaulted to a return type of "int" and functions with no arguments simply had empty argument lists. Pointers to untyped data were declared as integers or pointers to "char". Some early C Compiler s had the feature, now seen as an annoyance, of generating a warning on any function call that did not use the function's returned value. Old code sometimes Casts such function calls to void to suppress this warning. |