निम्नलिखित अंकगणितीय अभिव्यक्ति को क्रियान्वित करने पर क्या मान प्रदर्शित होगा?
What value will be displayed on executing the following arithmetic expression?
x = math.pow (0,-4)
A
1
B
16
C
DomainError
D
None of these
Explanation
Raising 0 to a negative exponent is mathematically undefined because it would involve dividing by zero.
In Python, this results in an error.
Answer: (C) DomainError
Correct Answer: C) DomainError