answersLogoWhite

0

BNF:

statements -> | statement statements

statement -> block | null_statement | expression_statement | if_statement | while_statement | ...

null_statement -> ;

expression_statement -> expression ;

block -> { declarations statements }

declarations -> | declaration declarations

if_statement -> if ( expression )statement

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Which symbol is used as a statement terminator in C?

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


In C programming language what are the so called functions statement statement block function block and expressions?

Statements are composed from expressions. A semi-colon turns an expression into a statement. A function is not a statement it is a type definition. A statement block is a compound statement, one or more statements delimited by braces, {}. A function block is the body of a function. The body must be enclosed in braces, {}.


How do you use a C-continue statement in a block- without any looping or conditional statements?

In the C language, the continue statement can only be used within a loop (for, while, or do). Upon execution, control transfers to the beginning of the loop.


Why C language is middile language?

If you meant 'middle', then it is a mistake; C is a high-level language.


What is the term for a group of one or more C statements enclosed in braces?

The term for a group of one or more C statements that are enclosed in braces is called a command block. A command block is a block that is made with the intent to support adventure mode.


What is a statement in c language programme?

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


Is 'c' is a oops language?

If you meant 'C++' then yes; otherwise no.


What is meant by fragmentation in c language?

sd


What is meant by format in c language?

Nothing.


What is regular grammar of a switch in C programming language?

Perhaps you meant 'switch statement' instead of 'a switch'?Something like this: -> -> switch () -> { } -> (empty) | -> []; -> | -> case: | default: -> | break;


What is if-statement in c programming language?

One of the statements, obviously.


What is executable statement of c language?

anything ending in semicolon/;