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