What should be the output of the program?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What should be the output of the program??

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

12th Oct 2019, 4:20 AM
Prakhar
3 Answers
+ 1
Output of the program is 101 t=101 rev =202 I do not know why it is coming
12th Oct 2019, 4:21 AM
Prakhar
0
grab a paper and write down what your code does (or debug and trace in an IDE) hint : printf returns number of outputed characters. you'll get it.
12th Oct 2019, 6:05 AM
AliZ
0
Thanks miika you are absolutely correct. Thanks very much
12th Oct 2019, 6:08 AM
Prakhar