[Ilugc] [OT] General C question
- From: binand@xxxxxxxxx (Binand Sethumadhavan)
- Date: Mon May 16 14:10:29 2005
On 16/05/05, Anto Paul <antopaul@xxxxxxxxx> wrote:
C doesn't have categories of functions, or you haven't expressed
yourself very clearly.
The three categories of C functions are
1, Function that dont accept any parameters and returns no value.
2, Functions that accept parameters but returns no value.
3, Functions that accept parameters and returns a value.
I can't imagine where you got this gem from. Why stop here? Why not have:
Functions that accept an int and return nothing
Functions that accept a char and return nothing
Functions that accept a struct and return nothing
Functions that accept a pointer and return nothing
Functions that accept two ints and return nothing
and so on ad infinitum.
Binand
Other related posts: