CS 3214 Midterm: CS3214 MidtermCS3214F11

62 views14 pages
31 Jan 2019
Course
Professor

Document Summary

The table below shows who graded which problem. If you have questions, contact the person who graded the respective problem first. Students who scored below 40 are at risk of failing the class even if they otherwise meet minimum requirements; they will need to show improvement taking the final exam. Midterm solution: compiling and linking (18 pts, (14 pts) separate compilation. Consider the following two . c files which both include the same . h file: // a. h (1) static int inc(int x) { return x + 1; } (2) static int x; (3) extern int y; // or empty (4) int z; (5) extern void b(void); // or empty. #include (6) int y = 1; (7) extern int w; // or empty (8) static int v = 5; int main() x = inc(0); z += 4; b(); printf("x = %d y = %d z = %d " "w = %d v = %d\n", x, y, z, w, v); return 0;

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents