AP Computer Science Amediummcq1 pt

Swapping the outer and inner loops changes

A.the order elements are visited
B.the number of elements visited
C.the array's dimensions
D.nothing

Explanation

Core Concept

The traversal becomes column-major.

Correct Answer

Athe order elements are visited

More Unit 8: 2D Array practice questions

Try a random question →

Practice more AP Computer Science A questions with full explanations

Practice Unit 8: 2D Array Questions →