fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. int n,n2;
  6.  
  7. n=4562;
  8.  
  9. n2=n;
  10.  
  11. int l;
  12.  
  13. l=0;
  14.  
  15. while(n>0){
  16.  
  17.  
  18. n=n/10;
  19.  
  20.  
  21. }
  22.  
  23. printf("%d",l);
  24.  
  25.  
  26. return 0;
  27. }
  28.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
Standard output is empty