answersLogoWhite

0


Best Answer

Something like this:

statement -> for (opt_expression; opt_expression; opt_expression) statement

statement -> while (expression) statement

statement -> do statement while (expression);

opt_expression -> | expression

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is regular grammar of a for loops C programming language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When was the loop created?

The first loops in programming were actual loops of the punched tape, 50-60 years ago.


What are loops in c language?

In very simple terms, Loops in any language are used to perform a task repetitively.


What is iterarion in c language?

Iteration is also known as loops as well, in fact loops is the most common word to refer to iterations. In very simple terms, Loops in any language are used to perform a task repetitively. importance of loops in any programming language is immense, they allow us to reduce the number of lines in a code, making our code more readable and efficient, many problems exist which cannot be solved without the looping construct. Think if you had 10000 student records, and you wanted to find the students with the highest marks, it would be difficult for you to go and check each record individually, therefore loops are used to make our task easier and efficient.


What is a loop type?

A Loop is a programming language construct that instructs the processor to repeat a sequence of operations a number of times until a specific condition is reached. There are different types of loops. They are: * for loop * while loop * do while loop


What are loops in C?

In very simple terms, Loops in any language are used to perform a task repetitively.


C programs using loops?

Loops are very important part of a C-language. If we have to run our programe multiple time then we use Loops of C.


In software programming the repetition of various steps is called?

Repetitive code is usually called a loop. Loops are usually iterative, however recursive loops are also possible.


What are you use of loops?

A loop is used in programming to repeat a set of commands in the program when a task is a repetitive one


What is meant by for loop in C programming?

loops execute a set of insructions repeatedly for a certain numbers of times..


Is an algorithm language dependent?

Algorithms are language independent. An algorithm is a procedure or formula for solving a problem: a finite series of computation steps to produce a result. Algorithms make no assumptions about programming languages or technologies; they are generally written in plain English. Pseudocode is typically used to demonstrate the implementation of an algorithm using a combination of plain English and program-like constructs such as loops and variables. Programmers can easily convert the pseudocode to a specific programming language.


What is the difference between radial and ulnar loops?

Why are you posting a question to do with finger print identification in several computer programming wikies.


What is the compound in c language?

compound c language is complicated where we need to use many nested functions and loops