This does a Bonferroni-Holm adjustment by default; see the documentation for other options.
> pairwise.prop.test(t(data))
Pairwise comparisons using Pairwise comparison of proportions
data: t(data)
a b
b 0.0490 -
c 0.0025 3.1e-13
P value adjustment method: holm