-
Count Number of characters using Pointers
Write a program to count the number of characters in a string using pointers.
-
-
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++);
-
-
-