I’m confused

Chained hash tables and the data parameter.

When you are using the chained hash table, you are only allowed to submit one variable as data. I am assuming the key and value pair, can be a structure you insert once, and each function (hash and match) interprets the parts of that structure appropriately when needed. Is this true, or am I lost :-/? Otherwise I don't see how the key value relationship exists by just submitting data to be hashed and indexed. Thank you.
1 person has
this question
+1
Reply