. An instructor has a classroom with 5 rows of seats and 8 seats in each row. She wants to use an array to represent hold the students’ names as they are seated in the classroom. Which of the following is a possible correct declaration?
a) int rows = 5;
int seats_per_row = 8;
string plan [rows - 1] [seats_per_row - 1];
b) const int rows = 5;
const int seats_per_row = 8;
string plan [rows, seats_per_row];
c) int rows = 5;
int seats_per_row = 8;
string plan [rows] [seats_per_row];
d) const int rows = 5;
const int seats_per_row = 8;
string plan [rows] [seats_per_row];
d) const int rows = 5;
const int seats_per_row = 8;
string plan [rows] [seats_per_row];
You might also like to view...
In the accompanying image of a Microsoft Word 2016 document, Box A points to the _____.?
?
A. ?title bar B. ?status bar C. ?taskbar D. ?scroll bar
What is the default line border for tables in Word 2010?
A) A single line B) A dashed line C) A thin double line D) A thick border line
Windows Server 2008 uses the Recovery Console.
Answer the following statement true (T) or false (F)
Does a PKI use symmetric or asymmetric encryption? Explain your answer
What will be an ideal response?