Chapter 07 - Chapter Seven MULTIPLE CHOICE 1 Unlike regular variables these can hold multiple values a constants b named constants c arrays d

Chapter 07 - Chapter Seven MULTIPLE CHOICE 1 Unlike regular...

This preview shows page 1 - 3 out of 9 pages.

Chapter SevenMULTIPLE CHOICE1.Unlike regular variables, these can hold multiple values.a.constantsb.named constantsc.arraysd.floating-point variablese.None of theseANS: C2.The individual values contained in array are known as3.To access an array element, use the array name and the element's4.Which of the following is a valid C++ array definition?5.The statementint grades[ ] = { 100, 90, 99, 80};shows an example ofa.default argumentsb.an illegal array declarationc.an illegal array initializationd.implicit array sizinge.None of theseANS: D
Background image
6.By using the same ________ you can build relationships between data stored in two or more arrays.7.The name of an array stores the __________ of the first array element.8.A two-dimensional array is like ______________ put together.9.A two-dimensional array can be viewed as ___________ and _____________.a.rows, columnsb.arguments, parametersc.increments, decrementsd.All of thesee.None of theseANS: A10.If you leave out the size declarator in an array definition:
Background image
Image of page 3

You've reached the end of your free preview.

Want to read all 9 pages?

  • Spring '14
  • Array, c.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture