Question: how to make xnor gate from nand gate?
Answer: An XNOR gate is a XOR gate followed by an inverter, and is used in comparator circuits. The output of an XNOR gate is '1', when both inputs are the same. The XNOR would contain three different types of gate - AND, NOT, OR, but this can be realized with 5 NAND gates.