Unlike regular variables, __________ can hold multiple values.
Arrays in C++ - CS172- Exercise #2

Flashcard
•
Quizizz Content
•
Computers
•
University
•
Hard
Student preview

16 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
arrays
2.
FLASHCARD QUESTION
Front
To access an array element, use the array name and the element's ___________.
Back
subscript
3.
FLASHCARD QUESTION
Front
The name of an array stores the __________ of the first array element.
Back
memory address
4.
FLASHCARD QUESTION
Front
Given the following declaration, where is the value 77 stored in the scores array? int scores[] = {83, 62, 77, 97, 86}
Back
scores[2]
5.
FLASHCARD QUESTION
Front
What is the last legal subscript that can be used with the following array? int values[5];
Back
4
6.
FLASHCARD QUESTION
Front
To pass an array as an argument to a function, pass the __________ of the array.
Back
name
7.
FLASHCARD QUESTION
Front
What will the following code display?
int numbers[5] = {99, 87, 66, 55, 101};
for (int i = 1; i < 4; i++)
cout << numbers[i] << " ";
Back
87 66 55
Explore all questions with a free account
Similar Resources on Quizizz
15 questions
NSCC-CODE TO COIN

Flashcard
•
University
9 questions
Java Methods

Flashcard
•
12th Grade
15 questions
ARRAYLIST - JAVA

Flashcard
•
University
11 questions
Computer Programming

Flashcard
•
University
11 questions
Java String Objects & Methods

Flashcard
•
12th Grade
8 questions
Methods

Flashcard
•
University
15 questions
Java String and Array

Flashcard
•
Professional Development
9 questions
CSA Semester 2 Final

Flashcard
•
11th - 12th Grade
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
Discover more resources for Computers
20 questions
Summer

Quiz
•
KG - University
19 questions
Minecraft

Quiz
•
6th Grade - Professio...
20 questions
3rd Grade Review

Quiz
•
KG - University
15 questions
Minecraft

Quiz
•
University
52 questions
Logos Trivia

Quiz
•
KG - University
7 questions
New national park celebrates Harriet Tubman's legacy

Interactive video
•
11th Grade - University
8 questions
2 Step Word Problems

Quiz
•
KG - University
20 questions
Disney characters

Quiz
•
KG - Professional Dev...