+ 2
Extraterrestrial Code coach....solving can anyone help me???whats the problem in my code???
2 Answers
+ 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! :))