※スタイルシート未対応ブラウザではレイアウトを正確に再現できません。
  > | advanced by | contents  | that returns in <    
                   < [modosusu] > Color magazine monochrome light and shade   font predetermined, Gothic Ming-style type longhand   size Konaka large   standard  


  Exercise 12   

  1. ..clause 1..: Basic knowledge
  2. ..clause 2..: Program readout
  3. ..clause 3..: Description type
  4. ..clause 4..: Basic knowledge(example solution)
  5. ..clause 5..: Program readout(example solution)
  6. ..clause 6..: Description type(example solution)


[1] Basic knowledge


[  1-1  ]
What is called the variable that can be used only in a specific function?

[  1-2  ]
What is called the variable that can be used by the entire source file?

[  1-3  ]
What does the value call the remaining variable though it is possible to use only in a specific function?
Example solution

It returns to contents.


[2] Program readout


[  2-1  ]
Local variable and global variable and static local variable from the following program
Pull it out in each [wo].
 
#include <stdio.h> 

int public;  

int main(void)  
{
	int count;  
	static int arc;  

	return 0;
}
Example solution

It returns to contents.


[3] Description type


[  3-1  ]
Though the variable is made as a rule independently in each function
Explain it concisely why.
Example solution

It returns to contents.


[4] Basic knowledge(example solution)


[  1-1  ]
Local variable

[  1-2  ]
Global variable

[  1-3  ]
Static local variable
Problem

It returns to contents.


[5] Program readout(example solution)


[  2-1  ]
Local variable: Count
Global variable: Public
Static local variable: Arc
Problem

It returns to contents.


[6] Description type(example solution)


[  3-1  ]
Whether is it the same variable identifier as other functions or not?
To make the function anxiously.
Problem

It returns to contents.


< - It is advanced -> | in | head that returns  to returning  next |.