What happens when you attempt to compile and run the following code?
#include
#include
#include
#include
using namespace std;
template
void print(T start, T end)
{
while (start != end)
cout<<*start++;
}
int main ()
{
string t[] = {"one", "two" ,"three" ,"four", "five"};
vector
deque
d1.push_back("zero");
print(d1[0].rbegin(),d1[0].rend());
return 0;
}
Leslee
2 days agoGlenna
7 days agoLottie
12 days agoDaryl
18 days agoGlendora
23 days agoIlene
28 days agoTeri
2 months agoRyan
2 months agoIra
2 months agoDulce
2 months agoLashon
2 months agoVenita
2 months agoAlonzo
3 months agoJohanna
3 months agoGenevive
3 months agoPortia
3 months agoLayla
3 months agoAliza
4 months ago