+ 1
Please help me understand
This code is to receive an input(word) from the user. Then it reverses the word backwards. I understand up until scanf portion which receives the word for (s). Anything after that is confusing to me. I can’t understand how it’s being executed. https://code.sololearn.com/cWmv92CP7qj5/?ref=app
2 Respostas
+ 1
BEN_10 thanks man!
0
In while loop, the calculation of no.of charecters in input is going on.
In for loop, in another array, he is copying input last element into a new array as a first element, and
last but two to 2nd element.....
Simply just copying in reverse of input...