/* Program to demonstrate hashing using modulo division and linear probing */ #include #include #define size 10 /* The hashtable size is normally 5 times the size of original array. However, in this program I have taken the size of hashtable same as original array */ int ht[size] ; void store(int x[ ], int n) ; int modulodivision(int key) ; int linearprobe(int address) ; void hashsearch() ; void main() { int i, n, x[10] ; char ch ; clrscr() ; printf("Enter the number of elements: ") ; scanf("%d",&n) ; printf("Enter the elements:\n") ; for(i=0 ; i