Question
Need this in 15 minutes please 1. A vector is a data structure holds related data of the same type is similar to an array,
Need this in 15 minutes please
1.
A vector is
a data structure | |
holds related data of the same type |
is similar to an array, except that you don't have to predetermine its size | |
all of the above |
2.
Which statement is most true about this declaration?
vector
this declares a vector object that holds integer data | |
this declares a vector named double that holds integer data |
this declares a vector object that holds double data | |||||||||||||||||||||||
this declares an array that holds double data
4. What does the push_back() method do?
|
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started