/** * hello2.c * * Andi Peng * Section, Week 2 * * If there are 2 command line arguments, prints out Hello and the * Otherwise prints out Hello, World */ #include #include int main(int argc, string argv[]) { if (argc == 3) { printf("Hello, %s!\n", argv[1]); } else { printf("Hello, world!\n"); } }