#include <stdio.h>

void sthng_fun(int i)
{
	if (i) {
		static int counter = 0;
		counter++;
		printf("this function was called %d times with non-zero argument\n", counter);
	} else {
		printf("this function has been called %d times with non-zero argument\n", counter);
	}
	
}

int main(void)
{
	sthng_fun(1);
	sthng_fun(1);
	sthng_fun(1);
	
	return 0;
}
