size of stack in c++
Size of Stack in C++
#include <iostream>
int main() {
unsigned int stackSize = 10000; // Set the stack size to 10,000 bytes
std::cout << "Size of the stack: " << stackSize << " bytes" << std::endl;
return 0;
}
#include <iostream>
int main() {
unsigned int stackSize = 10000; // Set the stack size to 10,000 bytes
std::cout << "Size of the stack: " << stackSize << " bytes" << std::endl;
return 0;
}