Dent corn is perfectly edible. The white variety is used in cornmeal, corn chips, and tortillas. Yellow is more used for animal feed and industrial use. But it is edible since it is pure starch.
Also, except for emergencies, the corn wouldn't be diverted but the farmers would plant a different variety or different crop the next year.
It is starch at its base, and oils. These are used in food.