Infosys interview question

Questions related to electronics oops null pointer void