 # C Programming Code Examples

## C > Functions Code Examples

### program to find factorial of a number using recursion

C++ Codings Delete Words from Sentence - To 'delete particular words' from the string or sentence in C++ language, enter the string or sentence, and then enter the 'word to delete' all the given/entered word from the sentence

C Code Find Power of a Number Recursion - C Language program code to find Power of a Number using Recursion. Power of a number is the number multiplied to itself for number of times it has been raised to Exam. 9^3=729

C code swap First & Last digit of a number - C Program to input a Number from user and swap first and last digit of the given number. First input a number from user and find last digit. Total number of digit - 1. Find first digit.

C++ Programming Bubble Sort Algorithm - The Bubble Sort is a simple sorting algorithm that 'repeatedly' steps through the List to be sorted, compares each pair of adjacent items and swaps them if they're in the wrong order.

Code Checks Even or Odd using Functions - Program input a number from user and check whether given number is Even or Odd using functions. Declare function to find even odd. First give a meaningful name to our function,

C++ Wheel Sieve Generate Prime Number - This is a C++ Program to find 'Prime number' between the given range using 'Wheel Seive' method. "Wheel Factorization" is a graphical method for manually performing preliminary

Program to Traverse the Tree Recursively - C program code, using recursion, performs traversal operation across the nodes in tree. The tree we have used is the binary search tree. The user generates a tree by inserting

Code find power of number using for loop - C program to find power of a number using for loop. Input base and exponents from user. Store it in two variables say base and expo. Declare & initialize another variable to store