Skip to content

Instantly share code, notes, and snippets.

@laiso
Created January 21, 2010 12:12
Show Gist options
  • Save laiso/282754 to your computer and use it in GitHub Desktop.
Save laiso/282754 to your computer and use it in GitHub Desktop.
#include <stdio.h>
void
helloWorld(char say[])
{
printf("%s\n", say);
}
void
helloworld(char say[])
{
printf("%s%s\n", say, say);
}
int main()
{
char someValue[] = "Hello";
char somevalue[] = "World";
helloWorld(someValue);/* Hello */
helloWorld(somevalue);/* World */
helloworld(someValue);/* HelloHello */
helloworld(somevalue);/* WorldWorld */
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment