sample_midterm_questions - CSE 332 Sample Exam Questions...

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

View Full Document Right Arrow Icon
CSE 332 Sample Exam Questions Questions asked on the midterm exam will be similar in style to the following questions that have been asked on previous midterms: 1. (10 points) For each of the following code fragments, please write the letter of the phrase that best describes it next to it. a. n is initialized with the value 7 ___ int fnc(int n); b. n is assigned the value 7 ___ int n[7]; c. n is an array of integers ___ int const * n; d. n is an array of pointers to ___ int fnc(int & n); integers e. n a pointer to a const integer ___ n = 7; f. n is a const pointer to integer ___ int * n[7]; g. n is a reference to integer ___ int fnc(int * n); h. n is an integer passed by value ___ int * const n; i. n is an integer passed by ___ int n = 7; reference j. n is an integer pointer passed ___ int & n = p; by value. 2. (5 points) Please write each of the following words into their correct places in the following sentences. Makefile precompiler
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.

This note was uploaded on 03/03/2010 for the course CSE 241 taught by Professor Cse241 during the Spring '08 term at Washington University in St. Louis.

Page1 / 4

sample_midterm_questions - CSE 332 Sample Exam Questions...

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