Signed Overflow
What does the C++ standard say about the following code?
#include <climits>
int main() {
int x = INT_MAX;
x = x + 1;
return 0;
}
Sign in to answer questions and track your progress
Sign InWhat does the C++ standard say about the following code?
#include <climits>
int main() {
int x = INT_MAX;
x = x + 1;
return 0;
}
Sign in to answer questions and track your progress
Sign In