Answer: C
Piperidine has a localised sp3 nitrogen lone pair and is the strongest base. Pyridine's lone pair is sp2 in the plane and free to bind H+, though held more tightly than an sp3 lone pair. In pyrrole the lone pair is part of the aromatic sextet, so protonation would destroy aromaticity and pyrrole is by far the weakest base.