Added book examples
This commit is contained in:
20
C12/scope_of_variables.c
Normal file
20
C12/scope_of_variables.c
Normal file
@@ -0,0 +1,20 @@
|
||||
void SampleFunction1 ( int x )
|
||||
{
|
||||
int i,j,k;
|
||||
return;
|
||||
}
|
||||
|
||||
void SampleFunction2 ( int x )
|
||||
{
|
||||
int i,j,k;
|
||||
SampleFunction1(x);
|
||||
return;
|
||||
}
|
||||
|
||||
// Main : Execution starts here...
|
||||
int main(void)
|
||||
{
|
||||
int i = 1;
|
||||
SampleFunction2(i);
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user