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

13th Apr 2021, 11:34 AM
Calvin Thomas
Calvin Thomas - avatar
2 Antworten
+ 1
Coder Kitten Thanks! That really helps.
14th Apr 2021, 5:05 AM
Calvin Thomas
Calvin Thomas - avatar
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.
14th Apr 2021, 4:27 AM
Calvin Thomas
Calvin Thomas - avatar