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.

What is the use of else statement?

a) When the if condition is false then the next else condition will get executed
b) When the if condition is false then the elsif condition will get executed
c) When the if condition is false and if else condition is true then only it will get executed
d) none of the mentioned

Answer: c
Explanation: When the if expression gives false value and the else condition is true then only it will get executed.

Join The Discussion