What does this function do:
What does this function do:
string f(const string &x) {
return x.empty()? x : f(x.substr(1)) + x[0];
}
What does this piece of code perform:
char *a=...., *b=....;
while(*b++ = *a++);
Questions by Namataraginu
Showing Answers 1 - 10 of 10 Answers
What does this function do:
string f(const string &x) {
return x.empty()? x : f(x.substr(1)) + x[0];
}
What does this piece of code perform:
char *a=...., *b=....;
while(*b++ = *a++);
Profile Answers by Namataraginu Questions by Namataraginu
Questions by Namataraginu