diff options
Diffstat (limited to 'c_seguridad/code/formatst')
-rw-r--r-- | c_seguridad/code/formatst/ejemplodospuntoce.c | 7 | ||||
-rw-r--r-- | c_seguridad/code/formatst/ejemplotrespuntoce.c | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/c_seguridad/code/formatst/ejemplodospuntoce.c b/c_seguridad/code/formatst/ejemplodospuntoce.c new file mode 100644 index 0000000..6f7f181 --- /dev/null +++ b/c_seguridad/code/formatst/ejemplodospuntoce.c @@ -0,0 +1,7 @@ +#include <stdio.h> + +int main(int argc, char** argv) { + if (argc > 1) + printf(argv[1]); + return 0; +} diff --git a/c_seguridad/code/formatst/ejemplotrespuntoce.c b/c_seguridad/code/formatst/ejemplotrespuntoce.c new file mode 100644 index 0000000..8e49d87 --- /dev/null +++ b/c_seguridad/code/formatst/ejemplotrespuntoce.c @@ -0,0 +1,7 @@ +#include <stdio.h> + +int main(int argc, char** argv) { + if (argc > 1) + printf("%s", argv[1]); + return 0; +} |