This is a collection of a number of components, al of the same data type. O swit
ID: 3774414 • Letter: T
Question
This is a collection of a number of components, al of the same data type. O switch O function O data list O array D Question 2 1 pts An array with 10 components hasthe following values: 1, 2, 3, 4, 5, 6, 7.8 10 O True O False D Question 3 1 pts This is the amay subscript operator used to access O 0 O I O O D Question 4 1 pts Which of the following loops is used for outputting data stored in an amay? O for index 0:index c 10 index cout cc O double salesl10l intindeac for index 0; index 10 O intsum 0: for Index indexExplanation / Answer
Answers:
1.array :as array is the collection of same type of data type and its size is fixed
2.False :As by default array does not contain those values,we have to initialize the array
3.[]
4.for(index=0;index<10;index++)
cout<<Sales[index]<<" ";
5.first option
Note:in case of any doubt please do ask the question,thanks.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.