Hashtable insertion

when we are doing converting string into integer using hashfunction then we are doing for abc=a+b27+c27*27
why are we doing these how could compiler change a ,b,c int the integer.

It will work on the ascii values of a,b and c which is integer. So actually ascii values gets multiplied and added

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.