atoi_print.c
changeset 63 5a82f89d607e
parent 9 c3fecc82ade6
child 77 49e0babccb23
equal deleted inserted replaced
62:b7061c0e239f 63:5a82f89d607e
     6 #include <stdio.h>
     6 #include <stdio.h>
     7 #include <stdlib.h>
     7 #include <stdlib.h>
     8 
     8 
     9 int main (int argc, char **argv)
     9 int main (int argc, char **argv)
    10 {
    10 {
    11     int i;
    11     unsigned int i;
    12 
    12 
    13     for (i = 1; i < argc; i++)
    13     for (i = 1; i < argc; i++)
    14         printf ("atoi(%s):=%d\n", argv[i], atoi (argv[i]));
    14         printf ("atoi(%s):=%d\n", argv[i], atoi (argv[i]));
    15 
    15 
    16     return EXIT_SUCCESS;
    16     return EXIT_SUCCESS;