progs/C4.c
changeset 115 c4008b31df8e
parent 105 40c51038c9e4
child 220 74772c30e0f4
equal deleted inserted replaced
114:3822d91a4639 115:c4008b31df8e
     1 #include<stdio.h>
     1 #include<stdio.h>
     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 //
       
     7 // try and run it with %s
       
     8 
     6 
     9 
     7 
    10 main(int argc, char **argv)
     8 main(int argc, char **argv)
    11 {
     9 {
    12         char *string = "This is a secret string\n";
    10         char *string = "This is a secret string\n";