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