Showing posts with label C Programs. Show all posts
Showing posts with label C Programs. Show all posts

C Program For Hasing

#include <stdio.h> #include <conio.h> #define tsize 21 struct list { int data; struct list *next; }; struct ...

C Program For Stack using Linked List

/*Stack using Linked List*/ #include <stdio.h> #include <conio.h> struct node { int n; struct node *next; }; main() { s...

C Program For Stack Using Menu Driven Program In Switch Case

/*Stack using array*/ if you get any error while executing in DosBox Press "Alt+R" Command and then press "Y" ...

C Program For Single Linked List

#include<stdio.h> #include<stdlib.h> struct node {     int data;     struct node *next; }*head; void append...

C Program For Selection Sort

/*Selection Sort*/ #include <stdio.h> #include <conio.h> main() { int a[10],n,i,j,pos,temp; clrscr(); printf( "Enter ...

C Program For Queue Using Array

/*Queue using array*/ #include <stdio.h> #include <conio.h> #define MAX_SIZE 10 int top=-1; int bot=0; void enque( int ...

C Program For Que Using Linked List

/*Q using Linked List*/ #include <stdio.h> #include <conio.h> struct node { struct node *front; int n; struct node *rea...

C Program For Merge Sort

/*Merge Sort*/ #include <stdio.h> #include <conio.h> main() { int a[10],b[10],c[20],i,j,k,n,n1; clrscr(); printf( "En...

C Program For Linear Search

/*L Search*/ #include <stdio.h> #include <conio.h> main() { int a[10],n,i,se,found=0; clrscr(); printf( "Enter the val...

C Program For Insertion Sort

/*Insertion Sort*/ #include <stdio.h> #include <conio.h> void main( void ) { int i=0,j,k,val,a[10]; clrscr(); printf( ...

C Program For Double Linked List

/*Double Linked List*/ #include <stdio.h> #include <conio.h> struct node { struct node *prev; int n; struct node *next;...

C Program For Circular Queue

/*Circular Queue*/ Press Alt+R To Execute #include<stdio.h> #include<conio.h> #define size 5 int front=-1; int rear=0; ...

C Program For Circular double Linked List

/*Circular double Linked List*/ #include <stdio.h> #include <conio.h> struct node { struct node *prev; int n; struct n...

C Program For BB Sort

/*bb sort*/ #include <stdio.h> #include <conio.h> void main( void ) { int a[10],n,i,j,temp; clrscr(); printf( "Ente...

C Program To Create ZEBRA

///////////////////////////////////////////////////////////////////////////// // Zebra Project.... // //////////...

C Program To Create YATCH

///////////////////////////////////////////////////////////////////////////// // Yatch Project.... // //////////...

C Program To Create XBOX

///////////////////////////////////////////////////////////////////////////// // X-Box Project.... // ///////////...

C Program To Create A Wall

///////////////////////////////////////////////////////////////////////////// // Wall Project.... // //////////////...