[ create a new paste ] login | about

Link: http://codepad.org/7PYcZWQE    [ raw code | output | fork ]

GHF - C++, pasted on Aug 14:
1
2
3
4
5
6
7
8
9
10
11
#include <limits>
#include <iostream>
#include <cstdlib>

int main() {
    using namespace std;
    cout << numeric_limits<int>::min() << "\n";
    cout << abs(numeric_limits<int>::min()) << "\n";

    return EXIT_SUCCESS;
}


Output:
1
2
-2147483648
-2147483648


Create a new paste based on this one


Comments: