2. Write a C program to answer the questions in Question 1 by direct experimentation. The following if/else construction will print the word "true" or "false" depending on the value stored in test:

if (test) printf("true\n");else printf("false\n");

If you prefer, use the following shorthand version of the above construction:

printf("%s\n", (test ? "true" : "false"));

3. In C, the loop control and branching expressions as in if (expr), while (expr), etc. are considered to be "true" if expr is anything other than 0. With this in mind, what should be the output of the following program?