answersLogoWhite

0


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

โˆ™ 2014-09-14 19:35:54
This answer is:
User Avatar
Study guides
๐Ÿ““
See all Study Guides
โœ๏ธ
Create a Study Guide
4.18
โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…
11 Reviews

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
Related questions

Function in c plus plus?

A block of code.


Can be there number of catch and try block in c plus plus programs?

Yes.


How do you Write a c plus plus program of exception handling?

With the help of Try, Catch and Throw Block..


Disadvantages of learning c and c plus plus?

There are no disadvantages as such, since C and C++ are both widely-used and are well supported. The only real stumbling block for new programmers is the steep learning curve.


What is Dazzling Pointer in c plus plus?

The pointer that points to a block of memory that does not exist is called a dazzling pointer or wild pointer


What is c plus plus statement?

For example: <expression>, <statement-block>, <null-statement>, switch, if, while, for, return, break, continue, try, catch...


What is the notation used to place block of statements in a looping structure in C plus plus?

for( ; ; ) { statement_block; } while( conditional_expression ) { statement_block; } do { statement_block; }while( conditional_expression )


What is b plus b plus b plus c plus c plus c plus c?

b+b+b+c+c+c+c =3b+4c


What is c plus c plus 2c plus c plus c equal?

c + c + 2c + c + c = 6c


B plus b plus b plus c plus c plus c plus c equals?

b + b + b + c + c + c + c = 3b + 4c


What are the types of comments used in c plus plus?

There are two types of comments used in C++. The old (C) style comment is a block of text begun with /* and ended with */. Everything in between, including end-of-line sequences, is considered to be white space. The new (C++) style comment is a block of text begun with // and ended with end-of-line. Everything in between is considered to be white space.


Symplify c plus c plus c plus c?

4c

People also asked