- Write a C program to find cube of any number using function.
- Write a C program to find diameter, circumference and area of circle using functions.
- Write a C program to find maximum and minimum between two numbers using functions.
- Write a C program to check whether a number is even or odd using functions.
- Write a C program to check whether a number is prime, Armstrong or perfect number using functions.
- Write a C program to find all prime numbers between given interval using functions.
- Write a C program to print all strong numbers between given interval using functions.
- Write a C program to print all armstrong numbers between given interval using functions.
- Write a C program to print all perfect numbers between given interval using functions.
- Write a C program to find power of any number using recursion.
- Write a C program to print all natural numbers between 1 to n using recursion.
- Write a C program to print all even or odd numbers in given range using recursion.
- Write a C program to find sum of all natural numbers between 1 to n using recursion.
- Write a C program to find sum of all even or odd numbers in given range using recursion.
- Write a C program to find reverse of any number using recursion.
- Write a C program to check whether a number is palindrome or not using recursion.
- Write a C program to find sum of digits of a given number using recursion.
- Write a C program to find factorial of any number using recursion.
- Write a C program to generate nth Fibonacci term using recursion.
- Write a C program to find GCD (HCF) of two numbers using recursion.
- Write a C program to find LCM of two numbers using recursion.
- Write a C program to display all array elements using recursion.
- Write a C program to find sum of elements of array using recursion.
- Write a C program to find maximum and minimum elements in array using recursion.
Happy coding ;)
You may also like
- Basic programming exercises and solutions in C.
- Bitwise operator programming exercises and solutions in C.
- If else programming exercises and solutions in C.
- Switch case programming exercises and solutions in C.
- Conditional operator programming exercises and solutions in C.
- Loops programming exercises and solutions in C.
- Array and Matrix programming exercises and solutions in C.
- String programming exercises and solutions in C.