title: How can I increase stack size in c++?
body: <p>When i compile my code for 100000 input array it doesn't give any error. However, when I increase input to 500000 it gives error about stack overflow. I need to increase stack size. How can I do it?</p>