当前位置:网站首页>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
边栏推荐
- 2022 electrician (elementary) examination questions and electrician (elementary) registration examination
- 2022 high altitude installation, maintenance and removal of examination question bank and high altitude installation, maintenance and removal of examination papers
- Cognitive fallacy: Wittgenstein's ruler
- LeetCode 540. A single element in an ordered array
- Niuke winter vacation training camp 4 g (enumeration optimization, Euler power reduction)
- Pooling idea: string constant pool, thread pool, database connection pool
- China's TPMS industry demand forecast and future development trend analysis report Ⓐ 2022 ~ 2028
- 2022 G3 boiler water treatment registration examination and G3 boiler water treatment examination papers
- Quick one click batch adding video text watermark and modifying video size simple tutorial
- [flax high frequency question] leetcode 426 Convert binary search tree to sorted double linked list
猜你喜欢

Leetcode week 4: maximum sum of arrays (shape pressing DP bit operation)

Covariance

Introduction to kubernetes

JS closure knowledge points essence

pivot ROP Emporium

STM32 multi serial port implementation of printf -- Based on cubemx

Collection | pytoch common loss function disassembly

Programming language (2)

IPhone development swift foundation 09 assets

The latest analysis of R1 quick opening pressure vessel operation in 2022 and the examination question bank of R1 quick opening pressure vessel operation
随机推荐
Buuctf, misc: sniffed traffic
DR-AP40X9-A-Qualcomm-IPQ-4019-IPQ-4029-5G-4G-LTE-aluminum-body-dual-band-wifi-router-2.4GHZ-5GHz-QSD
Tkinter Huarong Road 4x4 tutorial III
JS Demo calcule combien de jours il reste de l'année
Rest reference
[SRS] build a specified version of SRS
Data consistency between redis and database
How to switch between dual graphics cards of notebook computer
Data consistency between redis and database
Common problems in multi-threaded learning (I) ArrayList under high concurrency and weird hasmap under concurrency
DR882-Qualcomm-Atheros-QCA9882-2T2R-MIMO-802.11ac-Mini-PCIe-Wi-Fi-Module-5G-high-power
Introduction to kubernetes
Mysql database - Advanced SQL statement (I)
Development mode and Prospect of China's IT training industry strategic planning trend report Ⓣ 2022 ~ 2028
China's Call Center Industry 14th five year plan direction and operation analysis report Ⓔ 2022 ~ 2028
320. Energy Necklace (ring, interval DP)
Exness: the Central Bank of England will raise interest rates again in March, and inflation is coming
Exclusive interview with the person in charge of openkruise: to what extent has cloud native application automation developed now?
1 Introduction to spark Foundation
Collection | pytoch common loss function disassembly