Computer Science, asked by devatheni, 1 month ago

for(i = 15; i >= 20; i++) printf(“%d”, i); The number of times the above for loop will be executed is

Answers

Answered by anindyaadhikari13
1

Required Answer:-

Given Códe:

for(int i=15;i>=20;i++)

printf("%d",i);

Language: C

Solution:

  • The loop will be executed 0 times.

Explanation:

  • The given loop will not execute.
  • This is because 15 is less than 20. So, 15 >=20 is false.
  • Also, there is no output for this program.

•••♪

Similar questions