Strings | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Strings

How do you return a string in c++?

29th Sep 2018, 4:55 PM
romina
romina - avatar
1 Réponse
+ 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