# C Programming Code Examples

## C > Strings Code Examples

### program to remove spaces, blanks from a string

Program Code to Reverse a Stack without -
C program, using iteration, reverses a stack content. Stack here is represented using a linked list. A linked list is an ordered set of data elements, each containing a link to its

C++ Language Find Largest of 2 Numbers -
To find the largest number of the 2 numbers in C++, enter 2 numbers and checking which one is larger to "Display the Largest" on the output screen as shown here in the program

Code Read & Print Details of 50 Students -
The annual examination is conducted for 50 students for three subjects. Write a program to read the data and determine the following: Total marks obtained by each student. The...

C++ Programming Bubble Sort Algorithm -
The Bubble Sort is a simple sorting algorithm that 'repeatedly' steps through the List to be sorted, compares each pair of adjacent items and swaps them if they're in the wrong order.

C++ Sample Code Implement Bucket Sort -
Divide the range into equal parts and assign a 'bucket' to each part. Split the data and insert them into the Corresponding bucket by using insertion sort. 'Merge' all the buckets into one

Implement a Binary Search Tree by Linked -
This C++ program, displays the traversal of a "binary search tree" in inorder,postorder and preorder mode using "Linked Lists". A linked list is an ordered set of 'data elements', each

C Count Trailing Zeros in a Binary Number -
C language input any number from user and count number of trailing zeros in the given number using bitwise operator. How to find total number of trailing zeros in any given...

Program Code Search an Element in a Tree -
Program search element in a tree recursively. Program searches for a given Node in a Tree. The Tree we have used is the "Binary Search Tree". A Binary search tree follows a concept