It depends on the school -- Some schools have a broader general education focus, with less major-focused work, and enough of an opportunity to explore before declaring a major.
Others require you to pretty much declare from day one, and it might well be another $50,000 if you get it wrong.
Others require you to pretty much declare from day one, and it might well be another $50,000 if you get it wrong.