(d) All of these
In NaOH, sodium acts as the cation with the hydroxide anion which means that they share an ionic bond, while the oxygen and hydrogen atoms in hydroxide are covalently bonded.
In KCN, potassium acts as the cation with the cyanide anion which means that they share an ionic bond, while the carbon and nitrogen atoms in cyanide are covalently bonded.
In Na2SO4, sodium acts as the cation with the sulphate anion which means that they share an ionic bond, while the sulphur and oxygen atoms in sulphate are covalently bonded.
Hence all the given compounds contain both ionic and covalent bonds.