In ex17.c rename variable set to is_set and change type from int to bool.