Sex is determined before the egg is fertilized. It's the hen that determines if the egg would produce a male or female, not the rooster. If the hen supplies two full sets of genes to the ovum, it will produce a male if hatched. If she withholds the sex-linked genes, then it will produce a...