Chapter 7 Quiz.docx - Question 1 1 out of 1 points...

This preview shows page 1 - 2 out of 5 pages.

Question 1 1 out of 1 points To pass an array as an argument to a function, pass the _________ of the array.  Selected Answer: C.   name  Answers: A.   contents  B.   value of the first element  C.   name  D.   size, expressed as an integer  E.   None of these  Question 2 1 out of 1 points True/False: The statement double money[25.00]; is a valid C++ array definition. Selected Answer: Fals e Answers: Tru e Fals e Question 3 1 out of 1 points An array of string objects that will hold 5 names would be declared using which  statement?  Selected Answer: D.   string names[5];  Answers: A.   None of these will work  B.   string names(5);  C.  
Image of page 1

Subscribe to view the full document.

string names5;  D.   string names[5];  E.   String[5] names;  Question 4 1 out of 1 points What is the last legal subscript that can be used with the following array? int values[5]; Selected Answer: C.   Answers: A.   B.   C.   D.   Question 5 1 out of 1 points The statement
Image of page 2
You've reached the end of this preview.
  • Summer '17
  • Sophia Wilberscheid

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern