Computers and Technology

What does the following statement do? vector v(10, 2);
a) it creates a vector object and initializes all the first two elements with the values 10 and 2.
b) it creates a vector object with a starting size of 2 and the first element initialized with the value 10.
c) it creates a vector object with a starting size of 10 and the first element initialized with the value 2.
d) it creates a vector object with a starting size of 10 and all elements are initialized with the value 2.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 15:00, nika0001
When designing content as part of your content marketing strategy, what does the "think" stage represent in the "see, think, do, care" framework?
Answers: 3
image
Computers and Technology, 23.06.2019 03:30, natalie2sheffield
Hashtags serve to identify the topic of a given tweet true false
Answers: 2
image
Computers and Technology, 24.06.2019 00:00, miguelturner
Which tool could be used to display only rows containing presidents who served two terms
Answers: 3
image
Computers and Technology, 25.06.2019 01:30, kalag9478
If the average computer chip had 1,200 transistors per square inch in 1970, approximately how many transistors per square inch would one have in 1976? use moore's law to calculate your answer
Answers: 1
Do you know the correct answer?
What does the following statement do? vector v(10, 2);
a) it creates a vector object and in...

Questions in other subjects:

Konu
Mathematics, 17.09.2020 17:01
Konu
Mathematics, 17.09.2020 17:01
Konu
Mathematics, 17.09.2020 17:01
Konu
Mathematics, 17.09.2020 17:01
Konu
Mathematics, 17.09.2020 17:01
Konu
Mathematics, 17.09.2020 17:01
Konu
Mathematics, 17.09.2020 17:01
Konu
Mathematics, 17.09.2020 17:01
Konu
Mathematics, 17.09.2020 17:01
Konu
Mathematics, 17.09.2020 17:01