In which of the following will hydrogen form ionic compound?