Introduction - If you have any usage issues, please Google them yourself
Topic: Learn to use another usage of static.
1. Program analysis:
2. Source Code:
Code is as follows:
#include stdio.h
#include conio.h
main ()
{
int i, num
num = 2
for (i = 0 i <3 i++)
{
printf ( \ 40: The num equal d \ n , num)
num++
{
static int num = 1
printf ( \ 40: The internal block num equal d \ n , num)
num++
}
}
getch ()
}