#include int max; /* a global variable */void f(void){ int j; for(j=0; j printf("%d ", j);}int main(void){ max = 10; f(); return 0;}