C Programming Code Examples
C > Sorting Searching Code Examples
Selection Sort Program in C
Find Maximum between 2 Numbers using -
C Program input two numbers from user and find maximum between two numbers using switch case. Input two numbers. Store it in a variable say j1 & j2. Switch expression j1 > j2
Program Find the Average using Function -
C code to find the average using function. We have created user defined function average() for the calculation of average. The numbers entered by user are passed to this c function
Find an Input Substring in an input main -
C Programming example code to find an input substring in an input main string. The given sub-string is present in the main string. The given sub-string is not present in the...
Displays Nodes of a Linked List in Reverse -
C Program uses recursive function & reverses the nodes in a linked list and displays the list. Linked list is an ordered set of data elements, each containing a link to its successor. Code
C++ Same Namespaces in Multiple Places -
In C++, namespace can be defined in different parts of the program. All the objects that are in different parts of a program, but if in same namespace will form one namespace. Better
C Programs Checks If String is Palindrome -
Program accepts a string and checks whether a given string is 'Palindrome'. Take a string as input & store it in the array string[]. Store the same string into the another array 'reverse_s'
Program to Find Maximum and Minimum -
Program to find maximum in array elements using recursion and c conditional operator. C program code to find maximum & minimum elements in an array using recursion. How to
Balanced Binary tree of the Incoming Data -
In computer science, a "self-balancing" binary search tree is any "node-based" binary search tree that automatically keeps its height small in the face of arbitrary item insertions & item