A function:
> is a program organization unit that returns one immediate result.
> is directly called with its name (not through an instance).
> has no persistent state from one call to the other.
> can be used as an operand in other expressions.
That's nice, anon.
>>54975825
Also only has 1 input
Functional languages can do this with multiples due to currying, so it is still technically 1 argument
>>54976256
Only works with lexical scoping which isn't included in OP's definition.
>>54976256
It is calles tuples
>>54976256
N arguments can always be condensed into 1 argument, so that's a pointless clarification to volunteer.
>>54975825
this is true but only for basic programming functions
A function doesn't always return something for example void functions
>>54978651
Those are procedures
>>54975825
I'll take only D.
Unless you condense multivalues, but that's cheating as >>54977698 said.