Both can work but A is better because its safe to connect the switch on the live side instead of connecting on Neutral. In addition to this, I prefer A as it's safe to work on the lamp withouth being shocked if you standing on the ground ofcoz and you happen touch the live wire.
Which is the correct? (A) or (B)
Both can work but A is better because its safe to connect the switch on the live side instead of connecting on Neutral. In addition to this, I prefer A as it's safe to work on the lamp withouth being shocked if you standing on the ground ofcoz and you happen touch the live wire.