+ 2
Why is this code dumped in this compiler?
https://sololearn.com/compiler-playground/cktGZejT4uB8/?ref=app
5 Answers
+ 4
You can't have a remainder of something that you didn't divide ( line 29 ).
From C++ Standard(2020), section 7.6.5/4 says:
...
If the second operand of / or % is zero the behavior is undefined;
...
+ 4
TeaserCode ,
it would be better to put and save the code in playground and post a link to it here.
+ 3
MO ELomari thank you very much, you have right
+ 1
Which programming language is it?
0
Como funciona esse app