Report Bug
Qus : Header file for the sqrt() function is
Qus Sqrt () फ़ंक्शन के लिए हैडर फ़ाइल है

A. conio.h
B. string.h
C. math.h
D. graphic.h


Solution
C. math.h



Explanation

The function sqrt() takes a single argument (in double ) and returns the square root (also in double ). The sqrt() function is defined in math. h header file. To find square root of type int , float or long double , you can explicitly convert the type to double using cast operator.




Report Bug