extern int x;
now what is the question ?
the question in the variable x ;
it's declared in the header_file
the defined in the header_file.c
then used in the main.c
but what if i redefined it in main.c also like that
i tried and it work
so my question is ?
what has happen to the variable x in the header_file.c when i redefined the variable x in main .c again ?
i cannot allocate space like that
extern int comp;
extern char* all;
error :ss.c:5: error: initializer element is not constant
so my question is why i cannot allocate space like that?