I'm reading a beginners guide to C++, and it say's,
that this code should give the result: -5536
But when I compile it using Visual C++ 6.0,
the result is: 60000
which sure is correct, but when "result" is
declared as an "int", the result should be an
overflow right ?
Code:#include <iostream.h>
void main(void)
{
int result;
result = 200 * 300;
cout << "200 * 300 = " << result << endl;
}