
Ben's Flashcard
Flashcard
•
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What does this code snippet do?
Back
Fill the array with zeros
2.
FLASHCARD QUESTION
Front
How would I access the 3rd element in the 4th row of an array? Options: arrName[4][3], arrName[3][2], arrName[2][3], arrName[3][4]
Back
arrName[3][2]
3.
FLASHCARD QUESTION
Front
How would I declare an array of 11 rows and 13 columns? Options: int arrName[11][13], int arrName[13][11], int arrName[12][10], int arrName[10][12]
Back
int arrName[11][13]
4.
FLASHCARD QUESTION
Front
When you pass a two-dimensional array to a function, which dimension(s) does the compiler make sure that you pass?
Back
The 2nd dimension
5.
FLASHCARD QUESTION
Front
What type is returned when indexing a two dimensional array declared as int my2DArr[3][4] with my2DArr[0]?
Back
A pointer to an array
6.
FLASHCARD QUESTION
Front
I pass a 2D array to a function and modify it inside the function. When I return from the function I print the values. Are the values printed the modified ones or the original ones?
Back
The modified ones
7.
FLASHCARD QUESTION
Front
I pass an integer to a function and modify it inside the function. When I return from the function I print the integer. Is the integer printed the modified one or the original one?
Back
The original one
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
5 questions
EKONOMI MALAYSIA BAB 2 - INFLASI - BIL 2
Flashcard
•
University
6 questions
Skład chemiczny organizmów i znaczenie wody
Flashcard
•
1st - 3rd Grade
6 questions
JOBS AND OCCUPATIONS
Flashcard
•
6th Grade
7 questions
Flashcard Temu Pelanggan
Flashcard
•
Professional Development
9 questions
PROBLEMAS MRU y MRUA
Flashcard
•
8th Grade
9 questions
NT Greek Hewett ch 4a
Flashcard
•
12th Grade - University
4 questions
Les Transports
Flashcard
•
9th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade