+ 1

Strings

How do you return a string in c++?

29th Sep 2018, 4:55 PM
romina
romina - avatar
1 Answer
+ 3
create a function with a data type string. Eg. string Reverse(string wrd,int Len) { // some code here return wrd; }
29th Sep 2018, 4:57 PM
RZK 022
RZK 022 - avatar