Chapter 12: Arrays and Structures - Online Test

Q1. Which of the following is the collection of variables of the same type that an referenced by a common name ?
Answer : Option C
Explaination / Solution:
No Explaination.


Q2. Array subscripts is always starts with which number ?
Answer : Option B
Explaination / Solution:
No Explaination.


Q3. int age[]={6,90,20,18,2}; How many elements are there in this array?
Answer : Option B
Explaination / Solution:
No Explaination.


Q4. cin>>n[3]; To which element does this statement accepts the value?
Answer : Option C
Explaination / Solution:
No Explaination.


Q5. Structure definition is terminated by
Answer : Option C
Explaination / Solution:
No Explaination.


Q6. Which of the following is a properly defined structure?
Answer : Option D
Explaination / Solution:
No Explaination.


Q7. A sequence of characters where each character may be a letter, number or a symbol is defined as
Answer : Option A
Explaination / Solution:
No Explaination.


Q8. A structure without a name/tag is called
Answer : Option A
Explaination / Solution:
No Explaination.


Q9. The structure declared within another structure is called
Answer : Option B
Explaination / Solution:
No Explaination.


Q10. A user-defined which has the combination of data items with different data types.
Answer : Option A
Explaination / Solution:
No Explaination.