0

How to combine characters to become and output as a single string?

Character to String

26th Jun 2022, 6:10 PM
Liza Tolentino
2 Réponses
+ 2
In which language? What is your try..?
26th Jun 2022, 6:12 PM
Jayakrishna 🇮🇳
- 1
In java String str=""; char c="G"; str += c; In python it's same as string concatenation In C++ There are multiple ways but most simple is char c="A"; String s; s += c;
26th Jun 2022, 6:17 PM
Satyam Mishra
Satyam Mishra - avatar