定义一个vector容器,如下所示: vector v{ 'a', 'b', 'c','d' }; 如果调用vpop_back函数,则被弹出的元素是( )。;a;b;c;d
pop_back函数语法:vector向量,pop_back函数原型 C++ 1 void pop_back(); pop_back() 移除最后一个元素源代码vector向量pop_back函数定义 C++1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 /** * @brief Removes last element. * * This is a typical stack operation. It shrinks the %vector by ...