Step 1: Identify compound \(X\).
Sulphur dioxide reacts with chlorine in the presence of charcoal to form sulphuryl chloride.
\[
\boxed{
\mathrm{SO_2+Cl_2
\xrightarrow{\text{charcoal}}
SO_2Cl_2}
}
\]
Hence,
\[
X=\mathrm{SO_2Cl_2}.
\]
Step 2: Reaction of \(X\) with phosphorus.
Sulphuryl chloride reacts with phosphorus to produce phosphorus pentachloride and sulphur dioxide.
\[
\boxed{
\mathrm{P+SO_2Cl_2
\rightarrow
PCl_5+SO_2}
}
\]
Thus,
\[
Y=\mathrm{PCl_5}.
\]
Step 3: Determine the shape of \(Y\).
According to VSEPR theory,
\[
\mathrm{PCl_5}
\]
has
\[
\boxed{\text{Trigonal bipyramidal geometry}.}
\]
Hence, the correct option is
\[
\boxed{(C).}
\]