answersLogoWhite

0

What is for statement in c?

User Avatar

Anonymous

14y ago
Updated: 8/19/2019

It is one of the statements. Its syntax in BNF is the following:

statement ::= for_statement

for_statement ::= 'for' '(' opt_expression ';' expression ';' expression ')' statement

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

The arguments in an IF function are?

IF, in C and C++, is not a function - it is a statement. There are two parameters... if (expression) statement; The expression is evaluated. If it has logical result true, or arithmentic result not zero, the statement is executed; if not, the statement is not executed. The statement can be a single statement, in which it is terminated with a semi-colon, or it can be a block of statements, in which it is surrounded by braces.


What is a statement in c language programme?

Any experssion including assignment or a function call can be a statement in C


What are financial statement of a proprietorship?

The financial statement of a proprietorship are its Balancesheet,Profit & Loss A/c,Trading A/c.


What programming languages use a C switch statement?

There are two programming languages which use a C switch statement. The two languages are C and C++, hence the name C switch statement. There may be more, but those are the most obvious ones


How do you execute the statement repeatedly with out using whileloop in c?

for (;;) ...statement...;


What is if statement in c?

if is a conditional statement to check the given condition


Which symbol is used as a statement terminator in C?

semicolon ';' (Not applicable for block-statements)


Which statement is not frequently used in C plus plus?

The goto statement.


What is uses statement?

There is no "uses" statement in C. Please restate the question.


What is the deffernce of the switch statement and the if statement in c plus plus?

If statement is single selection statement,whereas the switch statement is multiple selective.


What do you mean by statements in C?

A statement in C is an expression terminated with a semi-colon. That is, a semi-colon turns an expression into a statement.


Syntax of nested if in c?

If(condition) { if-else statement; } else { if-else statement; }