I don’t understand why the compiler does not generate errors during execution in Visual Studio 2010 with C ++ builder 6. I refer to the array element that exceeds its size.
const int dl=2; int bb[dl]; cout<<"razmer "<<sizeof(bb)<<"\n"; for (int i=0;i<dl*5;i++) { bb[i]=i*2; } for (int i=0;i<dl*5;i++) { cout<<bb[i]<<" nomer "<<i<<"\n"; }