fork(6) download
  1. #include <iostream>
  2. #include <cstdint>
  3.  
  4. using namespace std;
  5.  
  6. void print_num(uint32_t num) {
  7. if (num) {
  8. print_num(num / 10);
  9. cout << num % 10;
  10. }
  11. }
  12.  
  13. int main() {
  14. print_num(123567098);
  15. cout << endl;
  16. return 0;
  17. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
123567098