0 votes
in C Plus Plus by

What are the general description for loop statements and available loop types in C?

1 Answer

0 votes
by

A statement that allows executing statements or groups of statements in a repeated way is defined as a loop. Following diagram explains

The following diagram explains a general form of a loop.

<!--[if gte vml 1]> <![endif]--><!--[if !vml]-->loop statement<!--[endif]-->

There are 4 types of loop statements in C.

While loop

For Loop

Do…While Loop

Nested Loop

Related questions

0 votes
asked Mar 17, 2020 in C Plus Plus by SakshiSharma
0 votes
asked Sep 28, 2021 in Azure Essentials by Robin
...