C Programming Statements
C Programming Statements
A C program is a sequence of instructions called programming statements. A programming statement performs a piece of programming action or unit of execution. There are several types of programming statements in the C language.
- Declaration Statement
- Expression Statement
- Selection Statement
- Iteration Statement
- Jump Statement
- Compound / Block statement
In C language semicolon(;) acts as a statement terminator. Every programming statement must be terminated by it. The exception for this is the preprocessor directives which start with #.
Blocks
We can group multiple programming statements as a block by enclosing them with curly braces { }. This group of statements is treated as one single unit.
C Functions
Functions are named units of a group of statements when executed to perform a specific task.
—
C Tutorials
C Tutorials on this website can be found at:
https://www.testingdocs.com/c-language-tutorial/