I have a question about the next code:
int main { double x = 0; double y = 0/x; if(y==1) {.....} .... .... return 0; }
When I run the cod
The reason you don't get an exception or error is because for a double, infinity and NaN are defined (see IEEE floating point) but when you try the same for integer, you'll get an error because NaN/Infinity aren't defined