#include <iostream> using namespace std; int main( ) { const long arraySize = 10000; double array[arraySize]; array[arraySize-1] = 10.0; cout << "The array size is fine."; } |
#include <iostream> using namespace std; int main( ) { const long arraySize = 1000000000; double array[arraySize]; array[arraySize-1] = 10.0; cout << "The array size is fine."; } |