The following sections of this BookRags Literature Study Guide is offprint from Gale's For Students Series: Presenting Analysis, Context, and Criticism on Commonly Studied Works: Introduction, Author Biography, Plot Summary, Characters, Themes, Style, Historical Context, Critical Overview, Criticism and Critical Essays, Media Adaptations, Topics for Further Study, Compare & Contrast, What Do I Read Next?, For Further Study, and Sources.
(c)1998-2002; (c)2002 by Gale. Gale is an imprint of The Gale Group, Inc., a division of Thomson Learning, Inc. Gale and Design and Thomson Learning are trademarks used herein under license.
The following sections, if they exist, are offprint from Beacham's Encyclopedia of Popular Fiction: "Social Concerns", "Thematic Overview", "Techniques", "Literary Precedents", "Key Questions", "Related Titles", "Adaptations", "Related Web Sites". (c)1994-2005, by Walton Beacham.
The following sections, if they exist, are offprint from Beacham's Guide to Literature for Young Adults: "About the Author", "Overview", "Setting", "Literary Qualities", "Social Sensitivity", "Topics for Discussion", "Ideas for Reports and Papers". (c)1994-2005, by Walton Beacham.
All other sections in this Literature Study Guide are owned and copyrighted by BookRags, Inc.
A compound statement, also called a block, joins or brackets together a number of declarations and statements in order to make them into a single statement.
The compound statement is one of the most useful forms of statement. For example, in the C programming language with a conditional statement, the programming syntax dictates that only one statement is allowed in each branch. The use of a compound statement permits several statements to be invoked in a branch.
In specific programming terms, a compound statement is a sequence of statements enclosed in brackets. A generic example of the structure of a compound statement is {declaration-listopt statement-listopt}. A semi-colon is sometimes required before the closing bracket to further define the end of the statement.
Compound statement are used by programmers to form code into blocks so that variables that are placed (declared) within the block become local (unique) to that block.
The compound statement is a major feature in the C++ programming language. Compound statements may be placed anywhere within regular statements and do not always require specific or special termination (e.g., with a semi-colon).