0 votes 0 votes #include <stdio.h> #include "test.h" int main() { i = 10; printf("%d ", i); foo(); } in file test1.c #include <stdio.h> #include "test.h" int foo() { printf("%d\n", i); } in file test.h #include <stdio.h> #include <stdlib.h> static int i; Shradha Pattanayak asked Apr 15, 2018 Shradha Pattanayak 452 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.