The combination of gates shown below yields
Key idea: A NAND gate with both inputs tied together is a NOT gate. Use De Morgan's law for the last gate.
Answer: (A) OR gate
Tagged Logic gates and digital circuits. Machine-assigned, so read it as a strong shortlist rather than a verdict.