DATA STRUCTURES
-
binary search on array
Binary search on array #include<stdio.h>#include<conio.h>main(){ int array[20],size,search,loop; int location,first,last,middle; printf("Enter the size of arrayn"); scanf("%d",&size); printf("Enter %d elements of array…
Read More » -
postfix and prefix expression evaluation
expression evaluation postfix and prefix In this part we will create a Stack and corresponding functions for stack #include<stdio.h>#include <conio.h>#include<stdlib.h>#include<string.h>struct…
Read More » -
priority queue using linked list data structure
Linked list priority queue #include<stdio.h>#include<conio.h>#include<stdlib.h>#include<string.h>struct node{int roll;char name[20];int priority;struct node *link;};struct node *front=NULL;struct node *rear=NULL;struct node *cur=NULL;// Queuee fuctions void…
Read More » -
Functions in C
Functions in C C enables its programmers to break up a program into segments commonly known as functions, each of…
Read More » -
Variables and its types in C
Variables and its types in C A variable is defined as a meaningful name given to a data storage location…
Read More » -
data types in C
What are data types in C Data types The kind of data that the variable may hold in a programming…
Read More »