Breaking News
recent
0

WAP to insert, delete and traverse a queue

#include<iostream.h> #include<conio.h> void main() {   clrscr();   int queue[10],front=0,rear=0,n,item,ch;   char ...
Read More
0

WAP to insert a new element in an array

#include<iostream.h> #include<conio.h> void main() { clrscr(); int a[10],i,n,x,y; cout<<"enter the no. ...
Read More
0

WAP to find the location of an element of an array

#include<iostream.h> #include<conio.h> void main() { clrscr(); int a[10],i,n,x; cout<<"enter the no. of...
Read More
0

WAP to display elements of an array

#include<iostream.h> #include<conio.h> void main() {                        int a[10],i,n; cout<<"enter t...
Read More
0

WAP to delete an element from an array

#include<iostream.h> #include<conio.h> void main() { clrscr(); int a[100],i,n,x; cout<<"enter the no. o...
Read More
0

WAP to search an element from a linked list

#include<iostream.h> #include<conio.h> #include<process.h> class node {                 public:             ...
Read More
0

WAP to delete a node from a given location in linked list

#include<conio.h> #include<iostream.h> struct node { int data; node *next; }*p,*start,*save,*loc,*locp; int find...
Read More
0

WAP to delete a node from the beginning of the linked list

#include<iostream.h> #include<conio.h> class node {                      public: char data; node *next; }; v...
Read More
0

WAP to insert an element at any location in linked list

#include<iostream.h> #include<conio.h> class node {                      public: char data; node *next; }; v...
Read More
0

WAP to insert an element in the beginning of linked list

#include<iostream.h> #include<conio.h> class node {                 public:                                 int data...
Read More
0

WAP to create and traverse a linked list

#include<iostream.h> #include<conio.h> class node { public:   int data;   node *next;   }; void main() {   n...
Read More
0

WAP to sort an array using Quick Sort

#include <iostream.h> #include <conio.h> void main() {  void srt(int[],int,int);  int a[10],count=0,n,i;  clrscr()...
Read More
0

WAP to sort an array using selection sort

#include <iostream.h> #include <conio.h> #define MAX 10 class selsort {     int arr[MAX],n;     public:     vo...
Read More
0

WAP to search an element in array using binary search

#include<iostream.h> #include<conio.h> void main() { clrscr(); int a[100],n,i,j,item,temp;
Read More
0

WAP to sort the elements of linear array using bubble sort

#include<iostream.h> #include<conio.h> void main() {                clrscr(); int a[100],n,i,j,item,temp; cout<...
Read More
Powered by Blogger.