# C Programming Code Examples

## C > For Loops and While Loops Code Examples

### program to convert Binary to Octal number system

C Find Maximum Between Three Numbers -
C program to input three numbers from user and find maximum between three numbers using conditional/ternary operator ?:. How to find maximum between three numbers using

C programming Game of Goat and Tiger -
This is a game of goat and tiger. First read these instructions. The no should be 4 digit no without 0 in the first place. The digit shouldn't be reapeated. Do you agree the

C Programs Finds Upper Triangular Matrix -
C program to read elements in a matrix and check whether the matrix is upper triangular matrix or not. Check upper triangular matrix. To check whether a matrix is upper triangular

C++ Programs to Implements D-ary-Heap -
Filling up 'heap' with the array. A Function to check if heap is empty. Function to get index parent of i. Function to get index of k th child of i. Function to find least element. Function

C++ Code Matrix Multiplication 2D Arrays -
Matrix addition is the "operation of adding" 2 matrices by adding the corresponding entries together. 2 dimensional array, represented in the form of "rows and columns", also suitable

C++ Program Sample Implements Vector -
'Insert element' into the vector. Deleting last element of the vector. Size of the vector and Display by index. "Dislplay by iterator". Clear the vector. Enter value to be inserted. Display

C Programming Codes Creating a PHP File -
Please enter the name of the file you wish to create. in the format myfile.php. Now enter a name for the counter file. Please enter the starting count. Create counterfile with the...

Code Find the Biggest Number in an Array -
C Program to find the 'Biggest Number' in an array of numbers using recursion. C Program example printing the "Largest Number" in an unsorted array of elements 'Using Recursion'.