Yes both of them have permanent dipole moment.
Because the Oxygen atoms in this one becomes more elctronegative and the other becomes electropositive and hence, the dipole becomes permagnet.
SYmterical compunds structure would have generally the permanent dipoles.