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

what is 0000000000098 in scientific notation
how is the scientific method similar to or different from superstition,guessing,intuition,hope?
What is 190 x 900 + 1000
which sentence summarizes the story told in the fish a. a woman catches a fish but the fish gets away. b. a woman catches a fish and takes it home for dinner. c
The graph shows the temperature of a liquid that is being heated during an experiment. Three of the statements are true. Which is NOT?
If 14x+15=0, then 14 |x|=
write a decimal where the value of a digit is one tenth as much as a digit in another place
stress causes an increased production of which hormone
the part of the body most impacted by hepatitis c is the: (5 points)
What's a mixed number between 17/5 and 7/2