Q60
What will be the output of the following C++ code? #include #include using namespace std; int main () vector first; first.assign (7,100); vector ::iterator it; it=first.begin()+1; int myints[] = 1776,7,4; cout << int (first.size()) << ' '; return 0;
A.
10
B.
9
C.
8
D.
7
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board