Home / MCQ Bank / Computer
Computer Plus Plus Miscellaneous

What type of Iterator i1 is in the following C++ code snipet? ================ code ================ vector<int>::iterator i1; for (i1=v1.begin();i1!=v1.end();++i1) *i1 = 1; ======================================

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • Output Iterator

Related Computer Questions

Driver of computer Hardware are:__________? Which of the following network protocol is used to send an e-mail over the internet? What will be the output of the following R code? > x <- 3 > switch(x, 2+2, mean(1:10), rnorm(5)) Which of the following provides a means of printing out features notes with a miniature slide on a printed page? What will be the output of the following C code? #include <stdio.h> void main() { char a = 'A'; char b = 'B'; int c = a + b % 3 - 3 * 2; printf("%d\n", c); }