Книга: Advanced PIC Microcontroller Projects in C

3.1.2 Beginning and Ending of a Program

3.1.2 Beginning and Ending of a Program

In C language, a program begins with the keywords:

void main()

After this, a curly opening bracket is used to indicate the beginning of the program body. The program is terminated with a closing curly bracket. Thus, as shown in Figure 3.1, the program has the following structure:

void main() {
 program body
}


Генерация: 1.170. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз