What happens when you attempt to compile and run the following code?
#include
#include
#include
#include
using namespace std;
template
ostream & out;
Out(ostream & o): out(o){}
void operator() (const T & val ) { out< }; int main() { char s[]={"qwerty"}; char t1[]={"ert"}; char t2[]={"ERT"}; sort(s, s+6); cout< return 0; } Program outputs:
Alethea
10 months agoAngella
10 months agoMelodie
10 months agoMaybelle
11 months agoMalinda
11 months agoCatalina
11 months agoHoney
11 months agoReynalda
11 months ago