division gives infinity anser

Posted on 16th Feb 2014 by admin

int main()
{
int z=0;
int i=1/z;
cout<
}

It doesn't throw any error in Visual Studio 2008. .......What setting one has to change so that it will show runtime error in VS 2008.....

Other forums