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

3.1.11 External Variables

3.1.11 External Variables

Using the keyword extern before a variable name declares that variable as external. It tells the compiler that the variable is declared elsewhere in a separate source code module. In the following example, variables sum1 and sum2 are declared as external unsigned integers:

extern int sum1, sum2;


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