This commit is contained in:
John Gatward committed 2026-10-04 15:24:17 +01:00
1 parent d0f27f276b
commit d6f54d4ec2
103 files changed
+3663 -3779

No files matched your search

+3 -5
View File
@@ -4,7 +4,7 @@
### Global vs Local Variables
*Globbal variables* can be accessed and used by any function in the program.
*Global variables* can be accessed and used by any function in the program.
*Local variables* can be accessed only by the function in which they are defined.
@@ -107,7 +107,7 @@ while (status == 0)
}
```
The assembly for this code will look similar from before however it lacks the *increment* section.
The assembly for this code will look similar to before; however, it lacks the *increment* section.
```assembly
mov [ebp+var_4], 0
@@ -146,13 +146,11 @@ void main()
{
int x=1;
int y=2;
printf("adder(1,2): %d", adder(x,y));
}
```
![1646767431.png](img/1646767431.png)
### Switch Statements