Skip to content

Instantly share code, notes, and snippets.

@ldunn
Created August 16, 2010 05:31
Show Gist options
  • Select an option

  • Save ldunn/526481 to your computer and use it in GitHub Desktop.

Select an option

Save ldunn/526481 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(int argc, char *argv[])
{
char *output;
if (argc > 1)
output = argv[1];
else
output = "y";
while(1)
puts(output);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment