+ 1
Blocks
what are the blocks in c++? can anybody help?
2 Respuestas
+ 1
A block is  a  group of lines in the same scope.
For example, lines between matching curly braces { } is a block.
Another example, in a if statement with no curly brace, the one line after if is the "if" block.
if(condition)
   //if block
else 
{
  // else block
}
0
type function-name(parameters)
{
// block 
}






