InterviewSolution
Saved Bookmarks
| 1. |
What Are Compound Statements ? |
|
Answer» Compound statements often known as block.It APPEARS in the BODY of another statements using {} CURLY braces. Unlike other statements it doesn’t END with a semicolon. Example- Writting a if condition or a LOOP using {} with a random statements within it, is a compound statement. Compound statements often known as block.It appears in the body of another statements using {} curly braces. Unlike other statements it doesn’t end with a semicolon. Example- Writting a if condition or a loop using {} with a random statements within it, is a compound statement. |
|