answersLogoWhite

0

What is a block in c plus plus?

Updated: 8/11/2023
User Avatar

Wiki User

9y ago

Best Answer

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).

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a block in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp