Understanding the Semicolon ';' in C/C++ Programming

Understanding the semicolon ';' and the code block (curly braces) '{}' in C or GCC programs. These are to contain code in some way. The semicolon is used to contain or terminate a single statement of code and teh code block curly braces contains many statements of code, each ending with a semicolon.



Back to blog

Leave a comment

Please note, comments need to be approved before they are published.