fork(1) download
  1. #include <iostream>
  2. #include <limits>
  3. using std::cout;
  4. using std::endl;
  5. using std::numeric_limits;
  6.  
  7. int main() {
  8. unsigned int n = -1;
  9. unsigned int m = numeric_limits<unsigned int>::max();
  10. unsigned int l = -2;
  11.  
  12. cout << n << endl;
  13. cout << m << endl;
  14. cout << l << endl;
  15. }
Success #stdin #stdout 0s 3096KB
stdin
Standard input is empty
stdout
4294967295
4294967295
4294967294