#include static void foo(void) { static int i, j; int n = i ? 1 : 0; int m = !!j; printf("%d, %d\n", n, m); } int main(void) { foo(); return 0; }