c math.h sqrt 1

c math.h sqrt

/*function prototype of sqrt()*/
double sqrt(double arg);

/*sqrt() returns the square root of the number passed on to it
the function is available in the math.h library*/

Here is what the above code is Doing:
1. The first line is a comment.
2. The second line is a preprocessor directive.
3. The third line is a function prototype.
4. The fourth line is a comment.
5. The fifth line is a function definition.
6. The sixth line is a comment.

Similar Posts