1. What is the output of code given below if these two files are linked and run? in file test.c #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(”%dn”, i); } in file test.h #include <stdio.h> #include <stdlib.h>…