
static variable is initialized once only and can be used by all objects. i want static in sense of program execution i want to count how many times the said program is executed by user. is it possible to declare a variable as counter which will increment each time i execute the program.