Added book examples

This commit is contained in:
Louise Brown
2022-04-08 16:12:38 +01:00
parent 5b205092a7
commit 1c0a9e7b6a
59 changed files with 1381 additions and 0 deletions

20
C12/scope_of_variables.c Normal file
View 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;
}