# C Programming Code Examples

## C > Functions Code Examples

### program to find cube of a number using function

Implement Slicker Algorithm that Avoids -
Program to find the "Area of Ploygon" using "Slicker Algorithm". algorithm assumes the usual mathematical convention that positive y points upwards. Enter the number of points

C++ Language Header File For Linked List -
Return true if "empty"; else false. Remove all items. Return position to prior to first. Return "first position". Insert x after "current iterator" position p. Return position that views. ListItr

Find the Trace & Normal of a given Matrix -
C Program find the trace & normal of a given matrix. Trace of the matrix is the sum of the elements of the main diagonal i.e diagonal from the upper left to the lower right of a...

C++ Language Simple Quick Sort Program -
"Quicksort" is an Efficient Sorting Algorithm, serving as systematic method for placing the elements of an array in order. 'Quicksort' can operate 'in-place' on an array, requiring small

Checks the Connectivity of Directed Graph -
Add Edge to connect "v" and "w". A recursive function to print BFS starting from s. Returns reverse ('or transpose') of this graph. Check if graph is connected. Print graph is connected.

Using Insertion Sort Technique in The C++ -
To sort an array using insertion sort, enter the array size and then array elements in random order. Start Sorting the Elements of the array in Ascending Order using insertion sort as like

Simple Multi Level Inheritance in the C++ -
In C++ language, Multilevel Inheritance The class A serves as a base class for the derived class B, which in turn serves as a 'base class' for the derived class C. The class B is known

C Convert a Time value to and from UTC -
Status epilepticus, print help. Extract UTC time from string. Convert UTC to time string. Print help and exit. Convert INT utc value to timestring. Convert STR to INT utc time...