A compound statement is a code block. We typically use compound statements as the body of
another statement, such as a while statement:
while (i >= 0)
{
a[i] = x;
++x;
--i;
}
Note that all compound statements are surrounded by braces {}.
Copyright © 2026 eLLeNow.com All Rights Reserved.