There are 3 men sitting in a row facing the same way. Their names are A,B, AND, C. a hat has been placed on their heads without them seeing their own or anyone else's. A can see B and C, B can see only C, C sees none. The game goes as follows: (it can have 1,2,3 quest.)

A is asked if he knows the color of the hat on his head. If he says "yes" the game is over. What's his hat color and why?

If A says "No", then B is asked if he knows the color of his hat and if he says "yes" the game is over. whats his hat color and why?

If B says "no" then C says "yes". What is the color of his hat and why?