# C Programming Code Examples

## C > Arrays and Matrices Code Examples

### C program to interchange diagonals of a matrix

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...

Nested Namespace in C++ Programming -
In C++ programming, you can create nested 'namespaces'. One namespace can be a part of another namespace. Simply we can create namespace X, which will contain namespace

C Program to Count Words, Digits, Vowels -
Program code count number of words, digits, vowels using pointers. Program code Finding number of words, blank spaces, digits, special symbols, vowels using pointers. Counting the

Code Perform Scalar matrix multiplication -
C program to read elements in a matrix and perform scalar multiplication of matrix. C program for scalar multiplication of matrix. How to perform scalar matrix multiplication

Dictionary implimentation by Binary Trees -
In C++, where first, the 'dictionary' is created by taking an input by the user for the words and their meanings. Next, these are stored in a "Binary Search Tree", after which the file is

C++ Prim's Algorithm Finds the Minimum -
Find the minimum spanning tree of the given graph using Prims algorihtm. This algorithm is a "greedy algorithm" that finds a minimum spanning tree for a "Connected Undirected"

C Codes Implement Recalibrate Command -
Check whether the FDC is ready. Read status of main status register. Check whether FDC is ready. Input the command parameters. Enter command parameters. Check the status of...

Generate a Random UnDirected Graph for -
Basically it implements on a big network. The time complexity of this algorithm is O(log(n)). This algorithm takes the input of the number of edges 'e'. It connects vertexes randomly &