csci4061/notes/03-process-basics-code/print13.c
Michael Zhang 041f660ccd
f
2018-01-29 17:28:37 -06:00

7 lines
234 B
C

// Prints 1st and 3rd command line arguments without check they are
// there. May kersplode if insufficient args are provided.
#include <stdio.h>
int main(int argc, char *argv[]){
printf("%s\n",argv[1]);
printf("%s\n",argv[3]);
}