I try to print out the `atoi` value from the function that is shown in The C Programming Language but I found out that the previous format for main cant print out the `atoi` value. 

Previously, I have write `htoi` in C with this format but this time it don't work. The code is shown below: 

```
#include <stdio.h>
#include <ctype.h>

#define MAXLINE 1000

int get_line(char line[], int maxline);
int atoi(char s[]);                                                                                                                                                                                                  

int main(void)
{
    int len;
    char line[MAXLINE];

    while ((len = get_line(line, MAXLINE)) > 0) {
        atoi(line);
        printf("%s", line);
    }
    return 0;
}

int get_line(char s[], int lim)
{
    int c, i;

    for (i = 0; i < lim-1 && (c=getchar()) != EOF && c != '\n'; ++i)
        s[i] = c;
    if (c == '\n') {
        s[i] = c;
        ++i;
    }
    s[i] = '\0';
    return i;
}

int atoi(char s[])
{
    int i, n, sign;

    for (i = 0; isspace(s[i]); i++)
        ;
    sign = (s[i] == '-') ? -1 : 1;
    if (s[i] == '+' || s[i] == '-')
        i++;
    for (n = 0; isdigit(s[i]); i++)
        n = 10 * n + (s[i] - '0');

    return sign * n;
}

```

It copy the user's input instead of print out the int value converted by `atoi` which is not my desired result.