Function prototype
#include<math.h>
double sqrt(double);
Note that the function arguments and return values are of type double, must be cast when in use, otherwise some of the position errors may occur.
Example of use
1 int a=10;
2 int b;
3 b=(int)sqrt((double)a);