If 100% of the code was written inside the company then they own the copyright and can do whatever they want with it
It depends on his contract with the company. It's not "their code" automatically.
Thank you my good man for correcting this young fellow with such a high ID number. I'm not english at all and was very curious at your suggestion, but I knew that the internet would settle your disagreement once and for all, for it seems that "In American English go is sometimes followed directly by a bare infinitive" (source).
No, I'm not drunk.
Computers are unreliable, but humans are even more unreliable. Any system which depends on human reliability is unreliable. -- Gilb