Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following expressions results in an error?

a) int(1011)
b) int(‘1011’,23)
c) int(1011,2)
d) int(‘1011’)

Answer: c
Explanation: The expression int(1011,2) results in an error. Had we written this expression as int(‘1011’,2), then there would not be an error.

Join The Discussion