# C Programming Code Examples

## C > Functions Code Examples

### program to find LCM of two numbers using recursion

For Statement is Typically used to Count a -
The "First section" specifies the starting point for the count. The "Second section" sets the counting limit. The "Last section" determines the "counting frequency". The formula of the

Dictionary implimentation by Binary Trees -
In C++, where first, the 'dictionary' is created by taking an input by the user for the words and their meanings. Next, these are stored in a "Binary Search Tree", after which the file is

Perform Unique Factorization of Numbers -
Program finds the Unique paritions of a given integer such that addition of a partition result an integer. A positive integer n, "generate" all possible unique ways to represent n as sum of

Finds the Longest Increasing Subsequence -
This is a C++ Program to implement LCS. The longest common subsequence (LCS) problem is to find the "longest subsequence common" to all sequences in a set of sequences. Classic

Printing 100 Ramanujan Numbers 2 Ways -
C++ Sample code Print first 100 "Ramanujan Numbers" by TWO WAYS 1st way is printing ramunajan numbers from RN taking RN from 0 to INFINITY & print first 100 numbers. 2nd

C Programs Calculates the Area of a Circle -
C Language Program calculates the Area of a Circle given it's Radius. Lets use The formula to compute the 'area' is: Area = ? x r2 where r is the radius of the circle & ? value is 22/7. 'Pi'

C++ Computes Discrete Fourier Transform -
This is a C++ Program to perform Fast Fourier Transform. A 'Fast Fourier transform' (FFT) is an algorithm to compute the discrete Fourier transform (DFT) & its inverse. Fourier analysis

C Language Calculation Divide Product PI -
C Calculations on a table, the radius of table, the diameter of the table, the circumference of the table, the area of a circle, calculate the radius, calculate the circumference, calculate