progs/C4.c
changeset 233 5a5729358afc
parent 220 74772c30e0f4
equal deleted inserted replaced
232:abc45724b267 233:5a5729358afc
     2 #include<string.h>
     2 #include<string.h>
     3 
     3 
     4 // a program that "just" prints the argument
     4 // a program that "just" prints the argument
     5 // on the command line
     5 // on the command line
     6 
     6 
     7 
       
     8 int main(int argc, char **argv)
     7 int main(int argc, char **argv)
     9 {
     8 {
    10    char *string = "This is a secret string\n";
     9    char *string = "This is a secret string\n";
    11 
       
    12    printf(argv[1]);
    10    printf(argv[1]);
    13 }
    11 }