[an error occurred while processing this directive]
int func(){static int a = 0, b = 1, c = 2;a = a + b + c;return a;}Последовательно вызывая, получишь 3, 6, ...
E-mail: info@telesys.ru