Page 1 of 1

How many times the below loop will get executed (assume there are no syntax and compile errors)? for (int i=10;i>=0;i− )

Posted: Thu Jul 14, 2022 2:28 pm
by answerhappygod
How Many Times The Below Loop Will Get Executed Assume There Are No Syntax And Compile Errors For Int I 10 I 0 I 1
How Many Times The Below Loop Will Get Executed Assume There Are No Syntax And Compile Errors For Int I 10 I 0 I 1 (416.84 KiB) Viewed 30 times
How many times the below loop will get executed (assume there are no syntax and compile errors)? for (int i=10;i>=0;i− ) \{\} Never 11 times 10 times 9 times