 C Programming Code Examples

C > Functions Code Examples

print all strong numbers between given interval using function

C Programming Codes to Quick Sort Array - Programming code load some random values into the array. Print the original array. Print the 'quicksorted' array. Sort everything in between 'low' 'high'. Compare value and find

C Program to Find Reverse of any number - C program code to input a number from user and find reverse of the given number using for loop. Input number to find reverse. Store it in some variable say j. Declare & initialize...

Check Whether Two Matrices are Equal or - C program to enter elements in two matrices and check whether both matrices are equal or not. C code to check whether elements of two matrices are equal or not. Input elements

Find Length of String by Defined Function - C Program to find Length of string with using user 'Defined function'. By using user-defined function write a code to find Length of String. After accepting the string from the user we're

Code Finds the Sum of 2 Binary Numbers - Take two Binary Numbers as input. Add each bits from the two binary numbers separately starting from LSB. The operations may be as follows. a) (0+0)=0, b) (1+0)=1, c) (1+1)=0 and

Undirected Graph is Connected Using DFS - A "Recursive Function" to print 'DFS' starting from v. Returns reverse ('or transpose') of this graph. Add edge to connect v and w. Check if Graph is Connected and display 'The Graph is

Program Convert Decimal to Hexadecimal - In C++ programming, you have to ask to the user to enter the desired decimal number to convert it into hexadecimal number to print the equivalent value in hexadecimal format

Using Quick Sort Algorithm in C Language - 'Quicksort' is a divide and Conquer algorithm. 'Pick an element' from the array, this element is called as pivot element, divide the unsorted 'array of elements' in 2 arrays with values less