Home

Data Structure programs using C and C++ (Solved data structure programs)



Data Structure Examples / Programs using C and C++ - This section contains solved programs using C and C++ on Data Structure concepts like Sorting (Bubble Sort, Insertion Sort, Selection Sort), Searching (Linear/sequential Search, Binary Search), Stack Implementation using Array, Linked list, Link List Implementation (Singly, Doubly Linked List), Queue and De-Queue Implementation.

Data structure tutorial, articles →

List of Data Structure programs...

  1. Quick Sort in C++ with Algorithm, Example.
  2. Merge Sort in C++ with Example.
  3. Counting Sort with C++ Example.
  4. Implement shell sort using C++ program.
  5. Dijkstra’s Algorithm: Explanation and Implementation with C++ program.
  6. C++ print Postorder traversal from Preorder and Inorder traversal of a tree.
  7. Infix To Postfix Conversion Using Stack [with C program].
  8. Evaluation of Postfix Expressions Using Stack [with C program].
  9. Maximum Sum Helix path (using C++ program).
  10. Tower of Hanoi using recursion (C++ program).
  11. Find in-order Successor and Predecessor in a BST using C++ program.
  12. Implement in-order traversal using C++ program.
  13. Implement post-order traversal using C++ program.
  14. Implement pre-order traversal using C++ program.

Recently added programs under Code Snippets section

Sorting

Searching

Stack

Other

C standard library functions example programs...

  1. ctype.h Library Functions.
  2. string.h Library Functions.

Advance C programs

  1. C program to print character without using format specifiers.
  2. C program to find Binary Addition and Binary Subtraction.
  3. C program to print weekday of given date.
  4. gotoxy(),clrscr(),getch(),getche() for GCC, Linux.

All Advance C Programs...



Top searched programs...

Here is the list of most important/useful programs searched on the web.

  1. First C program to print "Hello World".
  2. C program to find factorial of a number.
  3. C program to swap two numbers without using third variable.
  4. C program to check whether a number if Armstrong or not.
  5. C program to check whether a number if Even or Odd.
  6. C program to print all leap years from 1 to N.
  7. C program to calculate employee gross salary.
  8. C Program to print tables of numbers from 1 to 20.
  9. C program to print star/pyramid series.
  10. C program to convert temperature from Celsius to Fahrenheit and vice versa.
  11. C program to convert number from Decimal to Binary.
  12. C program to convert number from Binary to Decimal.
  13. C program to print ASCII Table.
  14. C program to get and set current system date and time.
  15. C program to run dos command.






Was this page helpful? YES NO

Are you a blogger? Join our Blogging forum.



Comments and Discussions


We are using Google to publish ads on our website; Google has its own privacy policies. They may save log, cookies on your system. Google may also collect information of your system like IP address, region, city, country. For more details please go through the Google’s privacy policy.