- ..clause 1..: Basic knowledge
- ..clause 2..: Program readout
- ..clause 3..: Description type
- ..clause 4..: Basic knowledge(example solution)
- ..clause 5..: Program readout(example solution)
- ..clause 6..: Description type(example solution)
[ 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?
Example solution
[ 1-3 ]
What does the value call the remaining variable though it is possible to use only in a specific function?
Example solution
[ 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
[ 3-1 ]
Though the variable is made as a rule independently in each function
Explain it concisely why.
[ 1-1 ]
Local variable
[ 1-2 ]
Global variable
Problem
[ 1-3 ]
Static local variable
Problem
[ 2-1 ]
Local variable: Count
Global variable: Public
Static local variable: Arc
Problem
[ 3-1 ]
Whether is it the same variable identifier as other functions or not?
To make the function anxiously.