fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. long rem = 16;
  6. std::cout << std::hex << rem << std::endl; //prints 10
  7. return 0;
  8. }
Success #stdin #stdout 0s 3140KB
stdin
Standard input is empty
stdout
10