1.

What error occurs if an input argument is outside the domain over which the mathematical function is defined?(a) domain error(b) range error(c) no error(d) domain and range errorThe question was posed to me by my college professor while I was bunking the class.My question is from Mathematical Functions topic in portion C Library of C

Answer»

Correct option is (a) DOMAIN ERROR

Explanation: A domain error occurs if an input argument is OUTSIDE the domain over which the MATHEMATICAL function is defined.



Discussion

No Comment Found

Related InterviewSolutions