# C++ Programming Code Examples

## C++ > Data Structures and Algorithm Analysis in C++ Code Examples

### Implementation for quadratic probing hash table

Alternate Nodes in linked list by Recursion -
Print the alternate nodes in a linked list using recursion. Program, using recursion, displays the alternate nodes in a Linked List. A linked list is an "ordered set" of data elements, each

C Code Reads two Strings & Concatenates -
C program Read two strings and Concatenate them, without using library functions. Display the 'Concatenated String'. Take two strings as input and store them in the arrays string1 and

Program Finds Prime Factors of a Number -
Factors of a number that are prime numbers are called as "Prime Factors" of that number. For example: 2 and 5 are the prime factors of 10. Logic to check prime factors of a number.

Replace last Occurrence of a Character in a -
How to replace last occurrence of a character with another character in a given string using functions in 'C Language'. Input a string from user, store it in some variable say 'str'. Input a

C++ Program use Linear Search Technique -
First ask to enter the array size then it will ask to enter the array elements, then it will finally ask to enter a number to be search in array to check whether it is present in the array or not

Code Find the Biggest Number in an Array -
C Program to find the biggest number in an array of numbers using recursion. Program prints the largest number in an unsorted array of elements using recursion. Array is...

C++ Language Add Digits of any Number -
To add digits of any number in C++, we enter the number to add their digits & displays the "Addition Result" of the digits of the entered number on the output screen as shown here

C program code Self-Referential structure -
Buffer for ungetch, next free position in buf, word frequency count, getword: get next word or character from input, addtree: add a node with w, at or below p, a new word has