Q4: Why compilation error due to Nagrro

Is it due to the fact that short implies an integer data type while there is float mentioned in the same statement as well creating conflict in the data type? or is it some other stuff that is causing compiltaion error

could u share the screenshot of the question since the quiz is not visible to us.
OR just copy paste the question the comment section

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.