Select the correct option to test your answer:
More Computer Questions
Which keyword is used to define a custom exception class in C++?
In Word, the mailing list is known as the ________.
Mouse also known as pointing device developed by: _________?
What will be the output of the following C++ code? #include <iostream> #include <vector> using namespace std; int main() { vector<int> v; for (int i = 1; i <= 5; i++) v.push_back(i); vector<int> :: iterator i; i = v.begin(); *i = 3; for (i = v.begin(); i != v.end(); ++i) cout << *i << " "; cout<<endl; return 0; }
Determine output: main() { int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i); }