C++ brainteaser

Today one of my friends came to my room to ask a doubt in C++

The he came up with was a very simple one but had a very interesting solution and exhibited the difference in the computations of 32 bit and 64 bit processors and had literally taken us to a stand still

The Code was:


void main()


int i = 0;

i = 400*400/400;




This was the piece of code, and would like as many people to think about it and give answers with reasons.