Corn on cob the next day after cooking it?

Var

Hi i just cooked some corn on cob and i have left overs to eat is it safe cold the next day or not?