## Exercise 2

Let's look at compiling programs. And also writing some very simple C:
    
 1. write a C program that:
    a. prints its first argument (if present),
    b. prints ‹no arguments› if it got no arguments,
    
 2. write a shell script that:
    a. compiles the program in steps (preprocess, compile, assemble, link),
    b. the binary name should be ‹a.out›,
    c. runs the program with all shell scripts in ‹~/pb152/08› as arguments,
    d. checks that ‹./a.out hello world› prints ‹hello›,
    e. if it does, the script prints ‹it works›,
    
 3. modify the program to print its «second» argument instead (print nothing
    if there is only one) and re-run the script from point 3.
