Can anyone explain the output of this code? Please explain it asap | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone explain the output of this code? Please explain it asap

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

21st Jul 2018, 5:25 PM
Shubham Chaurasia
Shubham Chaurasia - avatar
3 Answers
0
here in this code...different compiler will give different answer....there will not be any certain patterns for the output.... hence it is recommended to use only two incrementing or decrimenting at a time
21st Jul 2018, 6:12 PM
Shubham Santosh Upadhyay
Shubham Santosh Upadhyay - avatar
0
Im not agree with your answer. When you compile this code on any compiler, it gives 45555.
22nd Jul 2018, 12:17 AM
Shubham Chaurasia
Shubham Chaurasia - avatar
- 1
answer will be 5 6 6 5 5 or 6 6 5 5 5 or ..so on
21st Jul 2018, 6:14 PM
Shubham Santosh Upadhyay
Shubham Santosh Upadhyay - avatar