Q. Which of the following expressions will result in an error message being displayed when a program containing it is run?

 

(a) 2.0/4

(b) "3" + "Hello"

(c) 4 % 15

(d) int("5") / float("3")

(e) float("6"/"2")

 

Answer =

 

option (e) will give an error.

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post