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