Intended Major on Common App

I am new to CC and I am a junior in high school. I was just wondering if you apply with your intended major on Common App-let’s say Computer Science-if you don’t get your major, do you get rejected from the entire school itself? Or can you get rejected from your major and still get into the school undecided?

It depends on the college.

It varies by school.

.

Thanks, but how can I find out which colleges do/don’t do this?