# math.h header file functions with examples in C language

This section contains **library functions of math.h header file with example programs and output**. Each function is described with its definition, syntax and description of the program.

## List of solved programs of 'math.h' header file functions

**abs() and sqrt() functions of math.h in C.**

In this article, we are going to know about the abs() and sqrt() functions of math.h header file in C language and learn the process to use them.**floor() and ceil() functions of math.h in C.**

In this article, we are going to learn about the floor() and ceil() functions of math.h header file in C language and use them with help of their examples.**sin() and cos() functions of math.h in C.**

In this article, we are going to know about the trigonometric functions sin() and cos() of math.h header file in C language and learn the process to use them.**log() and log10() functions of math.h in C.**

In this article, we are going to learn about the pre-defined functions (log() and log10()) of math.h header file to calculate the log value of any decimal as well as integer value in C programming language.**pow() and pow10() functions of math.h in C.**

In this article, we are going to learn about the two very useful pre-defined functions (pow() and pow10()) of math.h header file and see their functioning with their examples in C programming language.**Function idexp() to raise a number to a given power in C.**

In this article, we are going to learn about the use Idexp() function of math.h header file and use it with the help of an example.**Function fabs() to get the absolute value of a number in C.**

In this article, we are going to learn about the fabs() function of math.h header file and try to understand it with the help of an example.**frexp() function of math.h in C.**

In this article, we are going to learn about the use frexp() function of math.h header file and then try to understand it with the help of an example.**modf() function of math.h in C.**

In this article, we are going to learn about the use modf() function of math.h header file and use it with the help of an example.**acos() function of math.h in C.**

acos() function of math.h in C: Learn how to find the acos (Arc Cosine) of a number in C with an Example?**asin() function of math.h in C.**

In this article, we are going to learn about asin() function of math.h header file and then try to use it with the help of an example.**atan() function of math.h in C.**

In this article, we are going to learn about the use atan() function of math header file and use it with the help of an example.**atan2() function of math.h in C.**

In this article, we are going to learn about the use atan2() function of math.h header file and use it with the help of an example.

TOP Interview Coding Problems/Challenges

- Run-length encoding (find/print frequency of letters in a string)
- Sort an array of 0's, 1's and 2's in linear time complexity
- Checking Anagrams (check whether two string is anagrams or not)
- Relative sorting algorithm
- Finding subarray with given sum
- Find the level in a binary tree with given sum K
- Check whether a Binary Tree is BST (Binary Search Tree) or not
- 1[0]1 Pattern Count
- Capitalize first and last letter of each word in a line
- Print vertical sum of a binary tree
- Print Boundary Sum of a Binary Tree
- Reverse a single linked list
- Greedy Strategy to solve major algorithm problems
- Job sequencing problem
- Root to leaf Path Sum
- Exit Point in a Matrix
- Find length of loop in a linked list
- Toppers of Class
- Print All Nodes that don't have Sibling
- Transform to Sum Tree
- Shortest Source to Destination Path

Comments and Discussions

**Ad:**
Are you a blogger? Join our Blogging forum.