From joseph@judy.cs.iastate.edu. Fri Dec 13 11:38:24 1991 Return-Path: Date: Wed, 11 Dec 91 16:12:50 CST From: joseph@judy.cs.iastate.edu. (Joseph Reynolds) To: jano@zippy.cs.iastate.edu Cc: leavens@judy.cs.iastate.edu Subject: Quiz Tomorrow Hi. I wrote some quiz questions. I hope these are not too close to final exam questions. (Tell me if they are, then write your own.) Enjoy, Joseph ______________________________________________________________________________ Final Quiz issues: ok macros as textual substitution ok stuctures inside of structures ok command line args ok pointers vs arrays not storage management ______________________________________________________________________________ Translate the following program so that it uses argv as a pointer, not as an array. You must eliminate the use of the integer i, and use a while loop. int main(int argc, char **argv) { int i; for (i=0; icount is between 2 and MAX_POLY_POINT */ /* modifies: the (ficticious) plotter device */ /* ensures: the polygon is drawn */ { /* YOUR CODE HERE */ }