Drobinson5587 Drobinson5587
  • 13-07-2019
  • Computers and Technology
contestada

The statement ____ declares intList to be a vector and the component type to be int

A.
vector intList;

B.
int.vector intList;

C.
int.vector intList;

Respuesta :

Limosa
Limosa Limosa
  • 21-07-2019

Answer: vector<int> intList

Explanation:

Using the above declaration we can declare intList to be a vector and the component type to be int.

example:

int main()

{

vector<int> intList

   intList.push_back(1);                          

   intList.push_back(2);                          

   intList.push_back(3);                        

   printList(intList);  // printing the list

}

Answer Link

Otras preguntas

Neptune is 4498252900 kilometers from the sun whitch distance is 200000000 killometers closer to the sun
write the number 0.632 in the other forms
After the New Kingdom, Egypt fell to ______.
Write 1.48 repeating as a mixed number
Which is the best way to rewrite this sentence in active voice? A good investment plan can now be gotten by all laborers. a. All laborers could now get a good
Identify the best definition for science. A. Science is the study of fundamental problems such as existence, values, and reason B. Signs is the collection of a
describe how animals and plants are adapted to survive in dry conditions such as deserts
3.2 to the power of 2 is what?
What is the correct title for this map? A.)Native American Culture Regions B.)Triangle Trade Routes C.)Prehistoric Migrations Through the Americas D.)
list 3 ways scientist can reduce bias