C Statements
In C programming, the code inside the curly braces {} are called statements.
Statements are the fundamental building blocks of a program. In C, all statements need to be terminated with a semicolon ;.
Let's look at the program we wrote in the previous lesson:
#include <stdio.h>
int main() {
printf("Hello, World!");
return 0;
}Here, the program contains two statements:
printf("Hello, World!");return 0;
Notice that both of these statements end with a semicolon.