When a longitudinal wave is incident on a rigid wall.
A. compression is reflected as rarefaction with phase change of `0^(@)`
B. compression is reflected as rarefactin with phase change of `180^(@)`
C. compression is reflected as compression with no phase change
D. compression is reflected as compression with phase change of `180^(@)`