What is the compound statement or block of statements ?
Compound Statement or Block of Statements :- A compound statement or block statement is a group of statements enclosed within a pair of curly braces {}. The statement inside the block are executed sequentially.
The general form is -
{
statement 1;
statement 2;
--------------
--------------
}
The general form is -
{
statement 1;
statement 2;
--------------
--------------
}
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment