By using hash table we can choose our own index value. In arrays it is not possible they are in sequence mode. One error found in hash table, suppose if I put some phone number in index place and another with normal value such as 104. When you are writing phone numbers 10 digits, take long data type and for 104 long data type is not supported, their will be no output.
Application for law ipc sections
Console application using hashtable to find name of a phone number.
Windows application using hashtable to find name of phone number.