Skip to content

Instantly share code, notes, and snippets.

@yudi-matsuzake
Created April 12, 2016 18:48
Show Gist options
  • Save yudi-matsuzake/4dc88efe0bc6fd61eb3b23faded35817 to your computer and use it in GitHub Desktop.
Save yudi-matsuzake/4dc88efe0bc6fd61eb3b23faded35817 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int print_0_99(int n){
printf("%d\n",n);
((n<99) && print_0_99(n+1));
return 0;
}
int main(){
print_0_99(0);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment