In computer programming, a statement block is a section of code which is grouped together; much like a paragraph. In C++, statement blocks are enclosed by brackets {}. Unlike paragraphs, statement blocks can be nested; that is, with one block inside another.
A C++ Statement Block
int main() { return 0; }
A Nested C++ Statement Block
#include <iostream> int main() { int x=1; if (x==1) { std::cout<<"text"; } return 0; }