Computer Science, asked by Poojasuri, 1 year ago

What is a compound statement

Answers

Answered by Anonymous
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 1Anushka12
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...

Poojasuri: Any example
1Anushka12: Hey, I have written in my answer hope it will help you..
Poojasuri: thnx
1Anushka12: ok
Similar questions