#include <stdio.h>

/*
 * The standard C "Hello World" program, augmented to show echoing of
 * program arguments.
 *
 * To compile this use the command "cc c.hello"; to run it just type "hello".
 * The try "hello some message of your own choosing" and see what happens.
 */

int main(int argc, char *argv[])
{
    int j;

    printf("Hello World\n\n";

    if (argc > 1)
    {
        printf("Args:");
        for (j = 0;  j < argc;  ++j) printf(" %s", argv[j]);
        printf("\n\n");
    }
    return 0;
}
