Home / MCQ Bank / Computer
Computer Plus Plus Miscellaneous Difficulty: Medium

What is the use of vector arithmetic in c++?

Select the correct option to test your answer:

More Computer Questions

Which of the statements about dictionary values if false? What will be the output of the following C++ code? #include <iostream> #include <iterator> #include <vector> using namespace std; int main () { vector<int> myvector; for (int i = 0; i < 10; i++) myvector.push_back(i); typedef vector<int> :: iterator iter_int; reverse_iterator<iter_int> rev_iterator; rev_iterator = myvector.rend() - 4; cout << *rev_iterator << endl; return 0; } The name of the format file for a table named my_tbl is ______ Which function is used increment the iterator by a particular value? Which data structure is best for implementing a sparse matrix?