Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions 1_hello_world/hello_world.c
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
/* Hello world implementation for Rosetta Stone. */
// Hello world implementation for Rosetta Stone.

#include <stdio.h>

void hello(char* word)
int main()
{
printf("Hello, World.\n");
printf("%s\n", word);
}

int main(void)
{
char* word = "Hello, World.";
hello(word);
return 0;
}