menu
Qammunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
A variable used as a subscript should be initialized to ________. a. the number of elements in the array b. one c. zero d. two
Ask a Question
Questions
Unanswered
Tags
Ask a Question
A variable used as a subscript should be initialized to ________. a. the number of elements in the array b. one c. zero d. two
asked
Mar 5, 2019
187k
views
1
vote
A variable used as a subscript should be initialized to ________.
a. the number of elements in the array
b. one
c. zero
d. two
Computers & Tech
high-school
NTR
asked
by
NTR
8.4k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
5
votes
The answer is d. Two
Two variables referring to the same array object
Jannina
answered
Mar 11, 2019
by
Jannina
7.6k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
May 4, 2024
197k
views
A two-dimensional array is used to represent a matrix. The declaration is below: int(1) matrix = new int[2][3]; public static void changeMatrix (int[matrix) for (int y = 0; y< matrix.length; y++) for (int x = 0; x< matrixtyl.length; x++) if y) matrix[y1x) = Math.abs(matrixty) (x)} If matrix is initialized to be: [(-1. 2. 31.(4.-5, 6]]. What will the values in matrix be after changeMatrix(matrix) is called? (14.-5, 61.1-1.-2.31 [14.5, 61,(1,2,3 |(1,2,31(4,5,611 [[1.-2.31.14,5,61)
FellowMD
asked
May 4, 2024
by
FellowMD
7.7k
points
Engineering
college
1
answer
4
votes
197k
views
asked
Nov 19, 2024
175k
views
What is the index of the last element? int numList[50]: O a. 0 O b.49 O c. 50 O d. Unknown, because the array has not been initialized.
Muthan
asked
Nov 19, 2024
by
Muthan
8.7k
points
Computers & Tech
high-school
1
answer
4
votes
175k
views
asked
Jan 11, 2024
23.4k
views
✓ Details C++ Write a program in which an array is initialized through user input Use these elements in an array named Temps: 98.6, 32.0, 87.1, 45.7 and -1.2. Output the values in the array. The outputs
Manuel Pintaldi
asked
Jan 11, 2024
by
Manuel Pintaldi
8.3k
points
Computers & Tech
college
1
answer
1
vote
23.4k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.4m
questions
12.2m
answers
Categories
All categories
Mathematics
(3.7m)
History
(955k)
English
(903k)
Biology
(716k)
Chemistry
(440k)
Physics
(405k)
Social Studies
(564k)
Advanced Placement
(27.5k)
SAT
(19.1k)
Geography
(146k)
Health
(283k)
Arts
(107k)
Business
(468k)
Computers & Tech
(195k)
French
(33.9k)
German
(4.9k)
Spanish
(174k)
Medicine
(125k)
Law
(53.4k)
Engineering
(74.2k)
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qammunity.org