If i define a global variable in a .c file, how can i use the value of the same variable in another .c file?
.c
file1.c
#incl
In the second .c file use extern keyword with the same variable name.
extern