Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is an array?
Think about storing multiple values of the same type.
What does the declaration 'int marks[5];' do?
What type of data is being stored and how many?
What is an array?
Think about how data is organized in programming.
A partially initialized array sets unassigned elements to what value?
What happens if you don't specify a value?
Design an array that can store five temperatures recorded over a week. Initialize only the first three values.
What happens to uninitialized elements in arrays?
How would you write code to print each value of 'marks' that has been declared but not initialized?
What do you recall about uninitialized arrays?
5 more questions in this section. Enroll free to practise them all.
Enroll free