Study of continuum nuclear structure of 12C via (p, p′X) at intermediate energies