what are loops in c programme?
Answers
Answered by
4
Answer:
Loop is used to execute the block of code several times according to the condition given in the loop. It means it executes the same code multiple times so it saves code and also helps to traverse the elements of an array.
There are 3 types of loop –
while loop
do – while loop
for loop
Answered by
2
Explanation:
Looping is one of the key concepts on any programming language. It executes a block of statements number of times until the condition becomes false. Loops are of 2 types: entry-controlled and exit-controlled. 'C' programming provides us 1) while 2) do-while and 3) for loop
Attachments:
Similar questions