mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-06 14:56:54 +02:00
Merge pull request #1512 from awalGarg/patch-2
[c/en] clarify common tripping point of newbies
This commit is contained in:
@@ -77,6 +77,9 @@ int main (int argc, char** argv)
|
|||||||
// Types
|
// Types
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
|
|
||||||
|
// All variables MUST be declared at the top of the current block scope
|
||||||
|
// we declare them dynamically along the code for the sake of the tutorial
|
||||||
|
|
||||||
// ints are usually 4 bytes
|
// ints are usually 4 bytes
|
||||||
int x_int = 0;
|
int x_int = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user