hash.c
void hT_dump(hashTable *hT){

	int i;


	for (i = 0; i < TABLE_SIZE; ++i)
	{

		entry_t *entry = hT->entries[i];

		if(entry != NULL){

			for(;;){

				printf("key: %s   value: %s", entry->key, entry->value);

				if(entry->next == NULL){
					break;
				}

				entry = entry->next;
			}

			printf("\n");
		}

		
	}
}
// print all key value pairs in the hashtable

print all key value pairs in the hashtable
print all key value pairs in the hashtable
void hT_dump(hashTable *hT){
	int i;
	for (i = 0; i < TABLE_SIZE; ++i)
	{
		entry_t *entry = hT->entries[i];
		if(entry != NULL){
			for(;;){
				printf("key: %s   value: %s", entry->key, entry->value);
				if(entry->next == NULL){
					break;
				}
				entry = entry->next;
			}
			printf("\n");
		}
	}
}
void hT_dump ( hashTable * hT ) { int i ; for ( i = 0 ; i < TABLE_SIZE ; ++ i ) { entry_t * entry = hT -> entries [ i ] ; if ( entry != NULL ) { for ( ; ; ) { printf ( " " , entry -> key , entry -> value ) ; if ( entry -> next == NULL ) { break ; } entry = entry -> next ; } printf ( " \n " ) ; } } }
print all key value pairs in the hashtable
print all key value pairs in the hashtable