✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Для формування яких структур даних може бути корисною така функція:#define SIZE 21unsigned int h; int Ha(KEY key){unsigned int i = 0; uchar *keysrc = key;while(*key){ i = (i << 1)|(i >> 15); i ^= *key++;}hash = i % SIZE;printf( "(%s)=%d\\n", keysrc, hash); return h;}