Concept:
A trap is a plumbing fitting provided in sanitary systems to prevent the entry of foul gases from drainage pipes into buildings.
Different types of traps are used for different sanitary fixtures:
• Gully trap
• Nahani trap
• P trap
• Bottle trap
Each trap maintains a water seal that blocks sewer gases.
Step 1: Understand the trap used in W.C.
A P trap is commonly used in water closets (W.C.) where the outlet passes horizontally through the wall.
The shape of the trap resembles the letter:
\[
P
\]
It maintains an effective water seal to prevent foul smell from entering the room.
Step 2: Analyze the given options.
• Gully trap -- Used outside buildings to collect wastewater from baths, kitchens, and wash areas.
• Nahani trap -- Used in bathrooms and floor drainage systems.
• P trap -- Used in W.C. systems for preventing sewer gas entry. \checkmark
• Bottle trap -- Generally used below wash basins and sinks.
Therefore, the correct answer is:
\[
{\text{P trap}}
\]