What is regular grammar of a for loops C programming language?
Answers
Answered by
0
Regular grammar of a for loops C programming language :→ Something like this:
statement -> for (opt_expression; opt_expression; opt_expression) statement
statement -> while (expression) statement
statement -> do statement while (expression);
opt_expression -> | expression
&&&&&&&&
DO-WHILEdo{ ............ //body ............}while(condition); Condition Operator (Condition ) ? Result if Condition TRUE : Result if Condition FALSE Break { if(condition TRUE) { Break }continue
HOPE THIS HELPS YOU✌✌✌✌✌
statement -> for (opt_expression; opt_expression; opt_expression) statement
statement -> while (expression) statement
statement -> do statement while (expression);
opt_expression -> | expression
&&&&&&&&
DO-WHILEdo{ ............ //body ............}while(condition); Condition Operator (Condition ) ? Result if Condition TRUE : Result if Condition FALSE Break { if(condition TRUE) { Break }continue
HOPE THIS HELPS YOU✌✌✌✌✌
Similar questions