How to automatically typecast an int as a double here? | Sololearn: Learn to code for FREE!

0

How to automatically typecast an int as a double here?

All the questions are in this code: https://code.sololearn.com/cnuEc936tIjY/?ref=app

4/13/2021 11:34:50 AM

Calvin Thomas

5 Answers

New Answer

+1

Coder Kitten Thanks! That really helps.

0

Coder Kitten Thanks for the explanation, but why in the first place does a float argument get read as a double? I tried va_arg(args, float) but it raised an error.