homework2solutions

homework2solutions - Assigned: 01/23/2006 Due: 01/30/2006...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Assigned: 01/23/2006 Due: 01/30/2006 1 CprE 211 – Spring 2007 Homework 2 Name: Lab section #: Email address: NOTE: Homework answers must be typed using a word editor. Handwritten answers will not be accepted. The homework is due in the class on the due date; submit a hard copy in the class. You are allowed to discuss homework but you are not allowed to exchange answers or submit duplicate work. Late homework should be submitted by e-mail to the instructor ( zzhang@iastate.edu ).You can turn in homework late with a 10% per day (week day or weekend) until the solutions are published. Among all of your homework submissions, the one with the lowest score will be excluded in the calculation of your overall grade. For this homework, you are suggested to use a Linux machine to compile and run the programs. Use the following command to compile a program: gcc –Wall –c executable_name program_name The “-Wall” make the compiler to report extra warning. 1. [5] Compile and run the following program. #include <stdio.h>
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

homework2solutions - Assigned: 01/23/2006 Due: 01/30/2006...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online