if the condition in a loop is false in the first step itself , we get
a) no output
B) infinite
c) error
please answer fast it's really necessary
best answer will be marked brainliest
no irrelevant answers
no spams please
Answers
Answered by
3
IF THE CONDITION OF THE LOOP IS FALSE IN THE FIRST STEP ITSELF,WE GET NO OUTPUT
Hey teju♥︎
i am really missing u ☹︎
my exam will be over at 19th..
then i will be always free and answers ur questions too☺︎︎
i hope u are enjoying ur life with happiness and love♡︎
Always keep smiling☺︎︎
Answered by
3
Answer:
it depends on the loop.
Since you didn’t specify a programming language, I will make some assumptions.
Since you didn’t specify a programming language, I will make some assumptions.The do-while loop in C, C++, and similar languages
Since you didn’t specify a programming language, I will make some assumptions.The do-while loop in C, C++, and similar languagesIf you look at the structure of a do-while loop (in C, C++, and a few other languages), you’ll see that the conditional test appears at the bottom of the loop, after the body of the loop. This provides a visual clue about exactly when the condition will be checked…after the body of the loop has already executed.
heya! teju,This is My New ID..Evelyn. hii :)
Similar questions