Is it possible to declare multiple static variables of same name in a single C file with different scopes? I wrote a simple programme to check this and in gcc it got compile
Both function will create different stacks, so static part also will be different .Therefore it is possible.