Step 1: Understanding the Concept
In an allylic halide the halogen is attached to an sp\(^3\) carbon that is next to a carbon-carbon double bond.
Step 2: Detailed Explanation
(A) \(\text{CH}_3\text{CH}_2\text{CH}_2\text{X}\) has no double bond: ordinary alkyl halide.
(B) \(\text{C}_6\text{H}_5\text{CH}_2\text{X}\): halogen on the carbon next to a benzene ring, a benzylic halide.
(C) \(\text{CH}_2=\text{CH-CH}_2\text{X}\): halogen on the sp\(^3\) carbon next to the double bond, so allylic.
(D) \(\text{CH}_3\text{CH=CH-X}\): halogen on the double bond carbon itself, a vinylic halide.
Final Answer:
Compound (C) is the allylic halide, option (C).
\[ \boxed{\text{(C)}} \]