C Programs - Function
A function is a collection of statements that performs a specific task.
There are two types of functions:
- Standard library function
- User-defined function
A function can be called as many times as possible which provides modularity without repetition of code.
List of programs
- C Program to find square of a number
- C Program to find cube of a number
- C Program to find circumference, diameter and area of a circle
- C Program to find maximum and minimum number
- C Program to find maximum and minimum number in an array
- C Program to check if a number is even or odd in a given interval
- C Program to check if a number is prime or not
- C Program to check if a number is prime or not in a given interval
- C Program to check if a number is armstrong or not
- C Program to print sum of first natural numbers using recursion
- C Program to print all natural number between given interval using recursion
- C Program to print all even and odd number in a given interval using recursion
- C Program to find sum of numbers in a given interval using recursion
- C program to find reverse of a number using recursion
- C program to check if a number is palindrome using recursion
- C program to find factorial of a number using recursion
- C program to get nth Fibonacci term using recursion