fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. int x = 123;
  6.  
  7. while (x > 0){
  8. printf("%d", x % 10);
  9. x = x /10;
  10. }
  11.  
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
321