Doubt in quiz question

https://online.codingblocks.com/player/11830/content/5528/quiz/23/v/1647?q=5

Hi, there is a doubt in the output of Nagarro (short unsigned). I tried type conversion of this variable to a float, but the output still stays 2018. Please clarify this.

Thanks

Add the problem link oh hackerblocks. This link is logged in via ur account.

Also how did u type cast it into float?

Using (data type)variable

Hey, if you are modifying short unsigned Nagarro = 2018.9; as float Nagarro = 2018.9; then output of cout<<Nagarro<<endl; will be 2018.9 instead of 2018.