MCQ Answer

Header file for the sqrt() function is

Header file for the sqrt() function is

Sqrt () फ़ंक्शन के लिए हैडर फ़ाइल है
Topic : Introduction

A. conio.h

B. string.h

C. math.h

D. graphic.h




Correct Answer is :

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.

CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz