title: Is it legal to put function prototypes inside of main or another function?
body: <p>In the C++ language, is it legal to put function prototypes inside of <code>main</code> or another function? Is this bad practice? Why would someone put prototypes inside of main?</p>