There is a header file foo.h
that contains a global variable declaration int i;
. This header file is being included in one.c
and two.c
respectively (I am aware that that's not a very good life choice, but it's not mine).
Does this mean that in each *.c file exist two different variables with name
i
?What is the situation with declaration/definition in this example (in accordance with standard)?