How to reverse character array values ? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

How to reverse character array values ?

23rd Dec 2018, 5:27 PM
Ahmad Asif
Ahmad Asif - avatar
3 Réponses
23rd Dec 2018, 5:36 PM
Izaak GOLDSTEIN
Izaak GOLDSTEIN - avatar
+ 1
No, you are just printing it in the reverse order. Have to reverse the whole array in the code
23rd Dec 2018, 5:39 PM
Ahmad Asif
Ahmad Asif - avatar
0
You can use the same code. Just add to a string array instead of printing to the screen.
23rd Dec 2018, 7:42 PM
Christopher Rohrer
Christopher Rohrer - avatar