Answer the following statements true (T) or false (F)

1. The amount of memory used by an array depends solely on the number of elements the array can hold.
2. If a C++ program contains the following array definition int score[10];
3. Arrays can be passed to functions, but individual array elements cannot be.
4. When you pass an array as an argument to a function, the function can modify the contents of the array.
5. An element of a two-dimensional array is referenced by the array name and two subscripts, first the element row number and then the element column number.


1. FALSE
2. FALSE
3. FALSE
4. TRUE
5. TRUE

Computer Science & Information Technology

You might also like to view...

Discuss why managing stakeholder expectations is important.

What will be an ideal response?

Computer Science & Information Technology

GUI stands for:

a. General/Universal/Individual b. General Utilization Instructions c. Global Usage Image d. Guidelines for Usability and Interaction e. Graphical User Interface

Computer Science & Information Technology

If a base class and a derived class have methods with the same names but different parameter lists, the derived class method overrides the base class method.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The second team to speak offers ________, which attempt to weaken the constructive argument presented, first

Fill in the blank(s) with correct word

Computer Science & Information Technology