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;
}
Sue
3 months agoLajuana
3 months agoJani
3 months agoRhea
3 months agoLeslee
3 months agoGlenna
3 months agoLottie
4 months agoDaryl
4 months agoGlendora
4 months agoIlene
4 months agoTeri
5 months agoRyan
5 months agoIra
5 months agoDulce
5 months agoLashon
6 months agoVenita
6 months agoAlonzo
6 months agoJohanna
6 months agoGenevive
6 months agoPortia
6 months agoLayla
7 months agoAliza
7 months agoLorean
22 days agoLeonora
2 months agoLatricia
2 months ago