Tip: don't use gets (fgets is more save).
Tip: input is 10 characters long. that's 9 chars and a null character to terminate the string.
Tip: find a good C Tutorial site with some examples
I'm not going to make your code work because I'm too lazy and you don't learn anything from it. Here's a small example.
void get_line(char *line);
char *get_line2(char *line);
int main( void )
void get_line(char *line)
strcpy(line, "Hello world!\n");
char *get_line2(char *line)
strcpy(line, "Hello world2!\n");