How to reverse character array values ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to reverse character array values ?

23rd Dec 2018, 5:27 PM
Ahmad Asif
Ahmad Asif - avatar
3 Answers
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