Sugar is a compound made of carbon, hydrogen and oxygen.
Electronegativity measures how much an atom likes to pull electrons away from another one. Ionization energy measures how much an atom doesn't want to lose electrons. As an atom that wants to gain electrons will clearly not want to lose electrons, these trends are basically identical.
Assuming its at r. t.p and pressure
no. of moles = 96/24=4moles
altho some books will say that its 23.7dm3/mole but that doesnt really matter because its the process that matters