Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Undefined behavior
//g++ 5.4.0 #include <iostream> #include <climits> int foo(int x) { return (x + 1) > x; } int main() { std::cout << ((INT_MAX + 1) > INT_MAX) << "\n"; std::cout << foo(INT_MAX) << "\n"; return 0; }
run
|
edit
|
history
|
help
0
Extended Euclidean Algorithm
Bin Tree playground
Samosa
IAR compiler bug test code
tuple_list_of
ConversionOperator
remove_30-Seconds-of-C++
NBiggestNum
Caminho das Pontes
Least missing num