What is the two-dimensional shape created by slicing a triangular prism parallel to the base?

A. rectangle
B. square
C. triangle
D. hexagon

C. triangle