Skip to content

Instantly share code, notes, and snippets.

@lucaspolo
Created December 6, 2021 14:16
Show Gist options
  • Save lucaspolo/d54861c5e75abfdf0fd7ae18a3a08460 to your computer and use it in GitHub Desktop.
Save lucaspolo/d54861c5e75abfdf0fd7ae18a3a08460 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(int argc, char* argv[]) {
int i = 0;
for(;;) {
printf("%d\n", i++);
i = i % 5;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment