Extraterrestrial Code coach....solving can anyone help me???whats the problem in my code??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Extraterrestrial Code coach....solving can anyone help me???whats the problem in my code???

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

12th Aug 2020, 2:26 AM
The Black Hat 🇨🇦🇧🇩
The Black Hat  🇨🇦🇧🇩 - avatar
1 Answer
+ 12
In this pgm they asked to reverse the string but you initialising ur own array and getting 1 more user input from the user ....strlen() returns integer type... it's not a character. Incase,if you are thinking to store the array in the reverse order you have to assign the previous to the existing array in the reverse order ,remove the initialised array and do you will get the answer ....I feel you didn't read the question thoroughly....please do read the question once again! :))
12th Aug 2020, 2:58 AM
chaithra Gowda
chaithra Gowda - avatar