Skip to content

Instantly share code, notes, and snippets.

@jenkinsshubham
Created March 26, 2016 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jenkinsshubham/e5f8a94de81d6c3e96f3 to your computer and use it in GitHub Desktop.
Save jenkinsshubham/e5f8a94de81d6c3e96f3 to your computer and use it in GitHub Desktop.
This will make infinite number of folder in current directory.
#include<stdio.h>
void main()
{
int i=1,j=1; char c[99];
while(i>0) {
sprintf(c, "mkdir %d", j);
system((char *)c);
j++;
i++;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment