Ugam Interview Question

Logical question for gates, html syntax