A function is declared as sqrt(-x) under the header file math.h, what will the function return?
(a) square root of x
(b) complex number
(c) domain error
(d) range error
I got this question during an interview.
This interesting question is from Mathematical functions topic in division C Library of C