#include <stdio.h>
#include <stdlib.h>
int count;
void func1();
void func2();
int main(int argc, char *argv[])
{
count = 100;
func1();
system("pause");
return 0;
}
void func1()
{
int temp;
temp = count;
func2();
printf(" count is %d\n", count);
func2();
}
void func2()
{
int count;
for(count = 1; count < 20; count++)
{
printf(".");
}
printf("\n");
}
|