Actually cattle can grow horns regardless of their sex. Horns are there for their protection, but are pretty unnecessary and sometimes harmful on the farm. Farmers will either remove the horns at birth, or they breed cattle to be hornless (aka polled).