C Tutorial/Statement/Statement

Материал из C\C++ эксперт
Версия от 10:32, 25 мая 2010; Admin (обсуждение | вклад) (1 версия: Импорт контента...)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Each executable statement is terminated by ";"

#include <stdio.h>
main(){
  printf("Hi \n");
}
Hi

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

#include <stdio.h>
main(){
  printf("Hi \n");
  printf("Hello \n");
}
Hi
     Hello