# C Programming Code Examples

## C > Arrays and Matrices Code Examples

### program to copy all elements of one array to another

C Program convert Decimail nos to Roman -
Convert decimail nos to roman equivalent upto 10,000. Function for generating roman equivalent of 1000's. Function for generating roman eq of 100's. Function for generating...

C Code Perform all Arithmetic Operations -
C program input two numbers and perform all arithmetic operations. How to perform all arithmetic operation between two numbers in C programming. C program to find sum,...

Program code Find Quotient & Remainder -
User is asked to enter the Dividend & Divisor and the program then finds the quotient and remainder based on the input values and the modulus operator "%" returns the remainder

C Put Even & Odd Elements of an Array in -
C Program puts even & odd elements of an array in 2 separate arrays. The program first finds the odd and even elements of the array. Then the odd elements of an array is stored

Finds the Frequency of the Word in String -
Take any Sentence as input and store it in the array 'string[]'. If the input string has 't', 'h', 'e' and ' ' Consecutively, then store that values in the variables 't, h, e & space' respectively. Use

Program Create the Prufer Code for a Tree -
The Time complexity to generate this code is 'O(v*e)'. This algorithm takes the input of the number of vertexes for the tree. Then it takes the input if "Vertex Pairs" which have an edge

Program Implement Doubly Ended Queue -
Inserting element into the "deque". Deleting element from the deque. "Insert" element in "doubly ended queue". Enter the value to be inserted. Element inserted into empty deque.

Takes octal number as input and converts -
C Program take the octal number as input and store it in the variable octal. Initialize the variables decimal and j to zero. Obtain the remainder and quotient of the octal number.