fix: replace imgur with s3 for english guide without conflict (#36053)
* fix: imgur to s3 for englsh guide without conflict (cherry picked from commit 9c9f15abf4e755feab79ef7090dacdcf497ea7b6) * fix: revert unrelated changes
This commit is contained in:
committed by
Parth Parth
parent
18e15830d9
commit
a16539becf
@@ -6,7 +6,7 @@ title: Preprocessors
|
||||
|
||||
As the name suggests Preprocessors are programs that processes our source code before compilation. There are a number of steps involved between writing a program and executing a program in C / C++. Let us have a look at these steps before we actually start learning about Preprocessors.
|
||||
|
||||

|
||||

|
||||
|
||||
You can see the intermediate steps in the above diagram. The source code written by programmers is stored in the file program.c. This file is then processed by preprocessors and an expanded source code file is generated named program. This expanded file is compiled by the compiler and an object code file is generated named program.obj . Finally the linker links this object code file to the object code of the library functions to generate the executable file program.exe .
|
||||
|
||||
|
@@ -18,7 +18,7 @@ Tokens are the smallest units of a program which are important to the compiler.
|
||||
* Textbook definition : Variables are named memory locations whose data can be altered.
|
||||
|
||||
* But I would like you to think of a variable to be something like a box, something like this :
|
||||

|
||||

|
||||
|
||||
So, for example :
|
||||
I'm shifting to a new place and I need to arrange my stuff in boxes . Thus there come 2 things to my mind **What kind of stuff will be stored in the box, so that the size off the box is known (the data type)** and **How do I identify the box ?(Naming the variable)**
|
||||
@@ -181,7 +181,7 @@ If a variable is not initialized , it contains a garbage value. For example:
|
||||
|
||||
So in terms of boxes, you can imagine this as -
|
||||
|
||||

|
||||

|
||||
|
||||
```cpp
|
||||
#include<iostream>
|
||||
|
Reference in New Issue
Block a user