rusi/test_ru/static.c

15 lines
378 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// stаtic.c - Проверка ключевого слова stаtic
цел счетчик(){
стат цел колво = 0;
колво = колво + 1;
возврат колво;
}
цел главн(){
цел а = счетчик();
цел б = счетчик();
если (а == 1 && б == 2) {
возврат 0;
}
возврат 1;
}