+ 20
C++ error
What kind of error is division by zero? (a question in quiezzes) - Compile Time Error, Runtime Error or Runtime Exception? I think it should be the latter (runtime exc). Is it right?
6 ответов
+ 24
in the c++ challenge it is a runtime error, if i am right 👍😉
+ 15
thx
+ 14
@The Great Saga Their compiler just outputs "No output", as it doesn' handle exceptions. In distinct of it, the Visual Studio does it.
+ 5
Yeah, it's a runtime error, in that the program crashes when it reaches that point.
@Akib
x/0 =/= infinity
x/0 tends towards infinity.
+ 2
It is run time exception. Run to program and verify the console output. Other thing is when you divide by 0 you will get floating point exception.
+ 1
thanks😁😁