当前位置:网站首页>C deep anatomy - the concept of keywords and variables # dry inventory #
C deep anatomy - the concept of keywords and variables # dry inventory #
2022-07-03 22:25:00 【Konjak_ Konnyaku】
1.
C In language 32 Key words C99 More 5 individual
compiler : Put text code -> Binary executable (exe file ), You can double-click to start the file , Generate executable file and run
The essence of double clicking
Load program data into memory , Any program must be loaded into memory before being run
The file was not run ( When not loaded ) Before , Where is the ?
On hard disk ( peripherals ) in
Why load in memory ?
reason : fast ! because CPU Accessing memory is much faster than directly accessing input devices
The von Neumann system

Input device input data, first put the data into memory , after CPU Calculation , Write the result back to memory after calculation , Refresh to the output device
2. Keyword classification
- auto Declare automatic variables
- short Declare short integer variables or functions
- int Declare an integer variable or function
- long Declare long integer variables or functions
- float Declare floating-point variables or functions
- double Declare a double precision variable or function
- char Declare character type variables or functions
- struct Declare a structural variable or function
- union Declare shared data type
- enum Declare enumeration type
- typedef Used to alias data types
- const Declare read-only variable
- unsigned Declare an unsigned type variable or function
- signed Declare a symbolic type variable or function
- extern Declare variables are being declared in other files
- register Declare register variables
- static Declare static variables
- volatile Explain that variables can be implicitly changed during program execution
- void Declares that the function returns no value or takes no arguments , Declare no type pointer
- if Conditional statements
- else Conditional statement negates Branch ( And if Continuous use )
- switch For switch statements
- case Switch statement Branch
- for A circular statement
- do The body of a loop statement
- while The loop condition of a loop statement
- goto Jump statements without conditions
continue End the current cycle , Start next cycle - break Jump out of current loop
- default In the switch statement “ other ” Branch
- sizeof Calculate the data type length
- return Subroutine return statement ( With parameters , Or without parameters ) The loop condition
3. Definitions and statements
Definition : Make room in memory ( There can only be one time ), To hold data
Statement : inform ( It can be stated many times )
3.1. What is a variable
边栏推荐
- JS Demo calcule combien de jours il reste de l'année
- Sow of PMP
- Wisdom tooth technology announced that it had completed the round D financing of US $100million and had not obtained a valid patent yet
- [secretly kill little partner pytorch20 days] - [day3] - [example of text data modeling process]
- Development trend and market demand analysis report of China's energy storage battery industry Ⓩ 2022 ~ 2028
- Unique in China! Alibaba cloud container service enters the Forrester leader quadrant
- Some 5000+ likes, the development notes of a director of cosmic factory, leaked
- WFC900M-Network_ Card/Qualcomm-Atheros-AR9582-2T-2R-MIMO-802.11-N-900M-high-power-Mini-PCIe-Wi-Fi-Mod
- On my first day at work, this API timeout optimization put me down!
- Yyds dry goods inventory hands-on teach you to create a jigsaw puzzle using the canvasapi
猜你喜欢
![[Android reverse] use the DB browser to view and modify the SQLite database (copy the database file from the Android application data directory | use the DB browser tool to view the data block file)](/img/6e/3ffa91154a718b6ace6c8ca87c5995.jpg)
[Android reverse] use the DB browser to view and modify the SQLite database (copy the database file from the Android application data directory | use the DB browser tool to view the data block file)

Introduction to kubernetes

Asynchronous artifact: implementation principle and usage scenario of completable future

Bluebridge cup Guoxin Changtian single chip microcomputer -- detailed explanation of schematic diagram (IV)

How PHP drives mongodb
![[Android reverse] use DB browser to view and modify SQLite database (download DB browser installation package | install DB browser tool)](/img/1d/044e81258db86cf34eddd3b8f5cf90.jpg)
[Android reverse] use DB browser to view and modify SQLite database (download DB browser installation package | install DB browser tool)

BUUCTF,Misc:LSB

How to solve win10 black screen with only mouse arrow

This time, thoroughly understand bidirectional data binding 01

Awk getting started to proficient series - awk quick start
随机推荐
Miscellaneous things that don't miss the right business
Getting started with DOM
How can enterprises and developers take advantage of the explosion of cloud native landing?
Unique in China! Alibaba cloud container service enters the Forrester leader quadrant
How to solve the problem of requiring a password when accessing your network neighborhood on your computer
How to switch between dual graphics cards of notebook computer
Market layout planning and latest dynamic analysis report of China's smart public security industry Ⓕ 2022 ~ 2028
English topic assignment (28)
Why should enterprises do more application activities?
pycuda._ driver. LogicError: explicit_ context_ dependent failed: invalid device context - no currently
Covariance
Pat grade A - 1164 good in C (20 points)
Code in keil5 -- use the code formatting tool astyle (plug-in)
Leetcode: a single element in an ordered array
[dynamic programming] Ji Suan Ke: Suan tou Jun breaks through the barrier (variant of the longest increasing subsequence)
DR882-Qualcomm-Atheros-QCA9882-2T2R-MIMO-802.11ac-Mini-PCIe-Wi-Fi-Module-5G-high-power
股票炒股开户注册安全靠谱吗?有没有风险的?
Blue Bridge Cup Guoxin Changtian MCU -- program download (III)
(POJ - 2912) rochambau (weighted concurrent search + enumeration)
Bluebridge cup Guoxin Changtian single chip microcomputer -- detailed explanation of schematic diagram (IV)