C Tutorial/Statement/Statement

Материал из C\C++ эксперт
Перейти к: навигация, поиск

Each executable statement is terminated by ";"

<source lang="cpp">#include <stdio.h> main(){

 printf("Hi \n");

}</source>

Hi

The statements are enclosed within a block marked by "{" and "}"

<source lang="cpp">#include <stdio.h> main(){

 printf("Hi \n");
 printf("Hello \n");

}</source>

Hi
     Hello