What is a block in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What is a block in c++

i am a beginnner and i am not able to understand the meaning of "block" in c++

19th Feb 2018, 4:33 AM
Dx Monster
1 Answer
+ 6
A block of code is a group of statements enclosed between curly brackets {}. Any matching set of curly brackets is basically a block of code.
19th Feb 2018, 4:52 AM
Red Hawks
Red Hawks - avatar