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
4 months agoAngella
4 months agoMelodie
4 months agoMaybelle
4 months agoMalinda
5 months agoCatalina
5 months agoHoney
5 months agoReynalda
5 months ago