Hot answers tagged

1

The function atoi returns an integer. You're assigning it to a variable of type char *. Change it to int key to fix.


Only top voted, non community-wiki answers of a minimum length are eligible