On Mon, 13 Mar 2017 21:50:30 -0700, retired mainframer wrote:

>fprintf is a variadic function.  Therefore any float passed to the function
>will be automatically promoted to double before the function is called (as
>long as the prototype is in scope).  ...
>
Isn't that true even if the programmer provides no prototype?  Necessarily,
in order to preserve compatibility with code antedating the invention of
function prototypes.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to