Question: QUESTION 26 Unlike regular variables, arrays can hold multiple ________. named constants operators data types variables values 1.00000 points QUESTION 27 True/False: The following statement

QUESTION 26

Unlike regular variables, arrays can hold multiple ________.

named constants

operators

data types

variables

values

1.00000 points

QUESTION 27

True/False: The following statement adds a new element to a the department vector at index 25. department.push_back(25);

True

False

1.00000 points

QUESTION 28

When an array is passed to a function, it is actually ________ the array that is/are passed.

the data type and name of

the starting memory address of

a copy of all the values in

the data type and size of

the value stored in the first element of

2.00000 points

QUESTION 29

To step through a one-dimensional array, accessing the elements one by one, it would be most appropriate to use ________ loop.

a sentinel controlled loop

a for loop

a nested loop

no

an infinite

1.00000 points

QUESTION 30

The statement int grades[ ] = { 100, 90, 99, 80 }; is an example of ________.

data encapsulation

implicit array sizing

an illegal array declaration

an illegal array initialization

default arguments

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!