Tidy up
This commit is contained in:
103 files changed
+3663
-3779
No files matched your search
@@ -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));
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
### Switch Statements
|
||||
|
||||
Reference in new issue
Block a user