# C Programming Code Examples

## C > Recursion Code Examples

### C Program to Perform Matrix Multiplication using Recursion

Partition of a Number in all Possible Ways -
C++ Program to get all the unique partitions of an integer such that addition of a partition results an integer. An integer n, generate all "possible unique" ways to represent n as sum

C++ Random Numbers the Middle Square -
This C++ Program generate random numbers using Middle Square method. In practice it is not a good method, since its period is usually very short & it has some severe 'weaknesses',

C Computing the Product of Two Matrices -
Code computes the product of two matrices. This program accepts the 2 matrices and then find the product of 2 matrices. Develop functions to read a matrix, display a matrix

Find The Position of A Point With Respect -
This is a C++ Program to check whether point lies above, below or on the line. For example, the equation of the line connecting points (2, 2) and (4, 5) is -3x + 2y + 2 = 0. The point (6, 3)

C++ Programming Print Table of Number -
You have to ask to the user to enter a number and start "multiplying" that number from 1 to 10 and display the multiplication result at the time of multiplying on the screen which is the

Singly Linked list Program Using functions -
In C++, under the simplest form, each node is composed of data and a reference ('a link') to the next node in the sequence. This structure allows for efficient insertion or removal of the

C Program to Find Smallest array element -
Finding smallest value in an Array is a classic C array program. C code gives you an insight of iteration, array and conditional operators. We iteratively check each element of array...

Getting a User Input as String in The C++ -
This can be considered as inefficient method of reading user input, why? Because when we read the user input string using cin then only the "First word of the String" is stored in char