0

why the output is different than the expected output i don't understan why please someone help tanks

https://code.sololearn.com/c3kDLjt4Zt9J/?ref=app

12th Aug 2022, 10:52 AM
jurise mboumene
jurise mboumene - avatar
2 Réponses
+ 2
You are printing character array address.. Use String.valueOf( gen(lg)) to print in string form.
12th Aug 2022, 11:10 AM
Jayakrishna 🇮🇳
+ 1
tanks guys it's walk
12th Aug 2022, 11:30 AM
jurise mboumene
jurise mboumene - avatar