Data Structure through C
Array programs:-
Programs Using only Function
- Program in C and C++ to create array and display.
- Program in C and C++ to create array and display reverse order.
- Program in C and C++ to find smallest element from an array.
- Program in C and C++ to find second smallest element from an array.
- Program in C and C++ to find largest element from an array.
- Program in C and C++ to find second largest element from an array.
- Program in C and C++ to find difference b/w largest and smallest element from an array.
- Program in C and C++ to find largest element from an array.
- Write a program in C to count the numbers of positive, negative and zero in an array.
- Write a program in C to sort array elements in descending order.
- Write a program in C to count the odd or even numbers in given array.
- Write a program in C to find sum of all array elements.
- Write a program in C to sort array elements in ascending order.
- write a program in C to find the separately sum of odd and even numbers in given numbers in array.
- Program in C to search given number in an array .
- Program in C to insert a number in given position in an array
- Program in C to delete an number from an array
- Program in C to Find duplicate number in given array and delete.
- Program in c++ to find sum of all prime elements of array
- Program in c to show the given numbers in array using pointer
- Anonymous array in C and C++
- Program in C and C++ to accessing array elements in different ways
- Program in C and C++ to insert element in an array in sorted order
- Program in C to print all prime number from array.
- Program in C to delete a given number from given array
- Program in C++ Copy the elements of two arrays into third one by one such that one element is copied from 1st array then one element is copied from 2nd array and so on.
- Program in C to sum of each two elements of given array insert into another array.
- Program in C and C++ to remove duplicate elements from array.
- Program in C and C++ to move smallest element in the start position of an array
- Program in C and C++ to move largest element in the end of an array
- Program in C++ to find smallest prime number from array Using function
- Program in C and C++ to find a given number using binary searching method
Sorting
Matrix
- Program in C to print given matrix using function
- Program in C to find the trace of a given square matrix
- Write a program in C to find the inverse of the given matrix.
- Program in C to find the sum of row and columns of a matrix separately.
- Program in c to print upper triangular matrix
- Program in c to print diagonal elements of matrix
- Write a program in C to add two matrix.
- Program in C to check a given matrix is diagonal or not.
- Write a program in C to find the transpose of given matrix.
Stack programs:-
- Program in C and C++ to implement stack Using Array.
- Program in C and C++ to implement stack Using Array second method.
- Program in C and C++ to implement stack Using Structure and Class.
- Program in C and C++ to implement stack Using Array and Function.
- Program in C and C++ to sort stack using one temporary stack.
- Program in C++ to implement stack Using Template feature.
Queue Programs:-
- Program in C and C++ to implement queue Using Array.
- Program in C and C++ to implement queue Using Array second method.
- Program in C to implement queue Using Structure.
- Program in C++ to implement queue Using Class.
- Program in C and C++ to implement queue Using Array and Function.
- Program in C++ to implement queue Using Template feature.
Linked List
1 ) Singly Linked List
1. Program in C to implement singly linked list insert data and display data.
2. Program in C to display data of singly linked list in reverse order using recursive function.
2 ) Doubly Linked List
1. Program in C to implement doubly linked list insert data and display data.
2. Program in C to display data of doubly linked list in reverse order using recursive function.
3 ) Circular Linked List
1. Program in C to implement circular linked list insert data and display data.
2. Program in C to display data of circular linked list in reverse order using recursive function.
Tree
0 Comments