Question
1.
bool is_int(789.54)
What is the value of the bool?
1.
bool is_int(789.54)
Answer: Option B
Was this answer helpful ?
The given number is a double not an integer, so the function returns 0 which is boolean false.
Was this answer helpful ?
Submit Solution