Sail E0 Webinar
Question
What is the value of x if:x = int(43.55+2/2)
Options:
A .  43
B .  44
C .  22
D .  23
Answer: Option B


The expression shown above is an example of explicit conversion. It is evaluated as int(43.55+1) = int(44.55) = 44. Hence the result of this expression is 44.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers