Doubt in Quiz On Programming Fundamentals 1 in challanges array

in last mcq i.e. question 5 Iam not getting how the output is coming?i want to know more about c++ data types?

not passing test case # 2 in this problem !!

not passing test case # 2 in this problem !! my code is