P
pete
Tomás wrote:
In C, the first of those two,
is an obsolescent form and the second one isn't.
ISO/IEC 9899: 1990
6.9.4 Function declarators
The use of function declarators with empty parentheses
(not prototype-format parameter type declarators)
is an obsolescent feature.
We're getting into semantics here, but I don't consider:
int main()
to be different from:
int main(void)
In C, the first of those two,
is an obsolescent form and the second one isn't.
ISO/IEC 9899: 1990
6.9.4 Function declarators
The use of function declarators with empty parentheses
(not prototype-format parameter type declarators)
is an obsolescent feature.