C Programming Code Examples
C > Arrays and Matrices Code Examples
Program to Merge and Sort Elements of 2 different arrays
Sort Elements Using Quick Sort Algorithm -
Two stacks to store two ends of the list in C. Entering elements in the array. Set top to stack. To print the sorted array. Enter the no of elements in the array. Enter the elements
Print to Binary Numbers Pyramid Patterns -
C code binary numbers pyramid pattern. First and Third Line is Starting with 1, While 2nd & 4th Line is starting with 0, So for First & Third Line count will be 1 and for even Line Number
Reverse a Number Check it is Palindrome -
Take the Number which you have to Reverse as the input. Obtain its quotient & remainder. Multiply the Separate variable with 10 & add the obtained remainder to it. Do step 2 again
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
Remove all Repeated Characters in Strings -
C program to remove all Repeated characters in a String using loops. Input string from user. Remove all duplicate characters from a given string. Remove all occurrences of a character
Finding the Edge Connectivity of a Graph -
C++ Program to find edge connectivity of a graph. An edge in an undirected connected graph is a bridge if removing it disconnects the graph. For a "disconnected undirected"
C Language program Print Pascal Triangle -
C program print pascal triangle up to n rows. Pascal triangle is a triangular number pattern named after famous mathematician Pascal. Where n is row number and k is term of that
C Program to Simulate a Simple Calculator -
This C Program simulates a simple calculator. Program performs arithmatic operations like addtion, subraction, multiplication & division. Assume that the two numbers a&b are given.