Skip to content

Instantly share code, notes, and snippets.

@dev7060
Created July 24, 2020 11:08
Show Gist options
  • Save dev7060/754a8f991f5469dfbc7ba07645d1e2e7 to your computer and use it in GitHub Desktop.
Save dev7060/754a8f991f5469dfbc7ba07645d1e2e7 to your computer and use it in GitHub Desktop.
//by github.com/dev7060
//all 10 digits combos
#include <stdio.h>
int main(int argc, char **argv){
unsigned long long int num = 1000000000;
FILE *fp = fopen("file.txt", "w");
while(num<=9999999999){
printf("%llu\n", num);
fprintf(fp, "%llu\n", num);
num++;
}
system("pause");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment