What is a compound statement
Answers
Answered by
10
A compound statement (also called a "block") typically appears as the body of another statement, such as the ifstatement. Declarations and Types describes the form and meaning of the declarations that can appear at the head of a compound statement.
Answered by
10
Hey mate here is your answer
A compound statement is a statement which results from the application of one or more logical connectives to a collection of simple statements.
A compound statement is one example of a context. So any variable that is created inside a compound statement is destroyed as soon as the program leaves that compound statement.
Hope this answer will help you!!
MARK MY ANSWER AS BRAINLIEST...
A compound statement is a statement which results from the application of one or more logical connectives to a collection of simple statements.
A compound statement is one example of a context. So any variable that is created inside a compound statement is destroyed as soon as the program leaves that compound statement.
Hope this answer will help you!!
MARK MY ANSWER AS BRAINLIEST...
Poojasuri:
Any example
Similar questions