# C Programming Code Examples

## C > Arrays and Matrices Code Examples

### Calculate Sum of all Elements of an Array using Pointers as Arguments

Check Alphabets by Conditional Operator -
C program code input a character and check whether the character is alphabet or not using Conditional/Ternary operator ?:. How to check alphabets by conditional operator...

Display the Nodes of Linked list in Reverse -
Program to display the nodes of a Linked List in Reverse without using Recursion. Program, using iteration, Displays Linked list in reverse. Linked list is an ordered set of data elements,

Finds the Longest Increasing Subsequence -
This is a C++ Program to implement LCS. The longest common subsequence (LCS) problem is to find the "longest subsequence common" to all sequences in a set of sequences. Classic

Code Find Maximum Between 2 Numbers -
C program code to input two numbers and find maximum between two numbers using conditional/ternary operator ?:. How to find maximum minimum between two numbers

Using the Bellman-Ford Algorithm to Find -
Using the bellman-ford algorithm to find the shortest path between two vertices assuming that negative size edges exist in the graph. A Program to find the 'shortest path' algorithm

Returns a String representation of Integer -
Converting an integer to a string with a fixed width. If the width is too small, the minimum width is assumed. Generate digit characters in reverse order. Shift the string to the right

C Code to Find & Replace any desired char -
C Program to find and replace any desired character from the input text. Function to find and replace any text. Enter a line of text below. Line will be terminated by pressing...

C Language code Hsort, heap sort [array] -
Array of MAXARRAY length. Preform the heapsort. Help heapsort() to bubble down starting at pos[ition]. Load some random values into the array. Print the original array.