Peteris Krumins <pk****************@inbox.lv> writes:
Is it possible to use va lists if i prefare to define
functions as following:
No, variable-length argument lists and K&R-style function
declarations don't mix.
ps. also how is such function definition called?
(when i do not write 'int f(int i) { }' but 'int f(i) int i; { }')
Typically "K&R-style function definitions", but the standard
calls them "function definitions with separate parameter
identifier and declaration lists".
--
"Give me a couple of years and a large research grant,
and I'll give you a receipt." --Richard Heathfield