c square root function code example Example 1: sqrt in c #include <math.h> double sqrt(double arg); Example 2: c sqrt double sqrt(double arg);