Step 1: Look for both groups
We need an amino group and a strongly acidic group together. Salicylic acid has no amine, so it is out.
Step 2: Check the acid strength
Phenol and a ketone are not acidic enough to protonate an aromatic amine, so p-aminophenol and p-aminoacetophenone fail.
Step 3: Conclusion
The sulfonic acid group is strongly acidic, so only sulfanilic acid forms a zwitterion.
Final Answer:
Only sulfanilic acid has a strong acid and a basic amine in one molecule.
\[ \boxed{\text{(B) }\text{Sulfanilic acid}} \]