Question: Can someone please explain the output to this program. For example what the capacity is vs the size and what does boris(5) and bw(5,'Q') mean?

Can someone please explain the output to this program. For example what the capacity is vs the size and what does boris(5) and bw(5,'Q') mean? As well as the output to the program. Thank you in advance.

Program:

#include #include

using namespace std;

int main(void) { int peachfuzz[]={16,22,47,9,19,2}; vector rocky; vector boris(5); vector bw(5,'Q'); vector natasha (3,"hello"); vector cloyd(peachfuzz,peachfuzz+3); vector ::iterator i1,i2,i3; int i; cout<<"rocky"<

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!