of the application (init of data section) so the function must not check it OR the static variable is in .bss and it will be written within the function and again the function doesn't need to care if it's initialized. I need to check what code will be generated on arm architecture.
I think it is defined by the standard that it have to be executed once during the scope of the function
What you want is a global variable here
If you have to wash your hand everytime you use a global variable, and you want to keep productivity, you will have to work in the bathroom
Обсуждают сегодня