C has three types of statement.
= (expression)
if (expression) else switch
while (expression) for (expression;expression;expression) do {block}
These statements are grouped into blocks, a block is identified by curly brackets...There are two types of block.
if ( i == j)
{
printf("martin \n");
}
int add( int a, int b) /* Function definition */
{
int c;
c = a + b;
return c;
}
| Top | Master Index | Keywords | Functions |