Skip to content

Instantly share code, notes, and snippets.

@MagnusVortex
Last active August 29, 2015 14:16
Show Gist options
  • Save MagnusVortex/e1dba6fd5f9612fd00f5 to your computer and use it in GitHub Desktop.
Save MagnusVortex/e1dba6fd5f9612fd00f5 to your computer and use it in GitHub Desktop.
char *change_it(char * inbound)
{
strcat(inbound,"Hello World!");
return inbound;
}
int main()
{
char *stuff[30];
int i;
for (i = 0; i < 10; i++)
{
stuff = change_it(stuff);
printf(stuff);
printf("\n");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment