My brain must ave rolled back too. Can someone point out why this is giving me an error (actually a windows error) when i run it, though it compiles with no errors in MV c++?
#include <iostream>
using namespace std;
int returns300()
{
return 300;
}
void main()
{
int ia[300];
ia[returns300()] = 20000;
}