Skip to main content
added 70 characters in body
Source Link
Peter
  • 1k
  • 5
  • 15

C (gcc), 3331 bytes

n=1;f(){f(printf("%d ",n);f(n*=2));}

Try it online!Try it online!

If passing a specific argument (with value 1) to the function was allowed (29 bytes):

f(n){printf("%d ",n);f(n*2);}

Try it online!

C (gcc), 33 bytes

n=1;f(){printf("%d ",n);f(n*=2);}

Try it online!

If passing a specific argument (with value 1) to the function was allowed (29 bytes):

f(n){printf("%d ",n);f(n*2);}

Try it online!

C (gcc), 31 bytes

n=1;f(){f(printf("%d ",n*=2));}

Try it online!

If passing a specific argument (with value 1) to the function was allowed (29 bytes):

f(n){printf("%d ",n);f(n*2);}

Try it online!

added 376 characters in body
Source Link
Peter
  • 1k
  • 5
  • 15

C (gcc), 2933 bytes

n=1;f(){printf("%d ",n);f(n*=2);}

Try it online!

If passing a specific argument (with value 1) to the function was allowed (29 bytes):

f(n){printf("%d ",n);f(n*2);}

Try it online!

C (gcc), 29 bytes

f(n){printf("%d ",n);f(n*2);}

Try it online!

C (gcc), 33 bytes

n=1;f(){printf("%d ",n);f(n*=2);}

Try it online!

If passing a specific argument (with value 1) to the function was allowed (29 bytes):

f(n){printf("%d ",n);f(n*2);}

Try it online!

Source Link
Peter
  • 1k
  • 5
  • 15

C (gcc), 29 bytes

f(n){printf("%d ",n);f(n*2);}

Try it online!