Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://mavr.sao.ru/hq/sts/linux/book/c_marshall/section2_22_12.html
Дата изменения: Unknown Дата индексирования: Fri Dec 28 19:40:00 2007 Кодировка: |
#include <stdio.h> void stat(); main() { int counter; /* loop counter */ for (counter = 0; counter < 5; counter++) { stat(); } } void stat() { int temporary = 1; static int permanent = 1; (void)printf("Temporary %d Permanent %d\n", temporary, permanent); temporary++; permanent++; }