Select the correct option to test your answer:
More Computer Questions
The operator used in PHP to access property of an object is . . . . . . . .
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); cout<<v.capacity()<<endl; v.pop_back(); v.pop_back(); cout<<v.capacity()<<endl; return 0; }
How do we debug a script?
Which is the correct way of concatenating a character at the end of a string object? way 1: string s; s = s + 'a'; way 2: string s; s.push_back('a');
What is the maximum number of elements that can be held in a stack if it has a capacity of 20 and 5 elements are pushed and then 3 elements are popped?