What is a block in c plus plus?

1 answer

Answer

1133105

2026-07-11 13:06

+ Follow

Assuming you mean a code block, a group of simple statements enclosed in braces {} is regarded as a code block. In other Words, a compound statement. Braces are not required around simple statements except when the statement is the body of a function (where braces are mandatory).

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.