Assuming sizeof(int) is equal to 2 then 450 is right. It can, however, be bad to make assumptions and it has jumped up and bit me in the behind a few times. Now, whenever I use a type I use that type in my size calculation. For the above I would output
cout<<45*5*sizeof(int)<<endl;
Just my 2 cents
Matt