当前位置:网站首页>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
边栏推荐
- [template summary] - binary search tree BST - Basics
- AST (Abstract Syntax Tree)
- Exclusive interview with the person in charge of openkruise: to what extent has cloud native application automation developed now?
- 3 environment construction -standalone
- [dynamic programming] Ji Suan Ke: Suan tou Jun breaks through the barrier (variant of the longest increasing subsequence)
- China's TPMS industry demand forecast and future development trend analysis report Ⓐ 2022 ~ 2028
- 1068. Consolidation of ring stones (ring, interval DP)
- Development trend and market demand analysis report of China's energy storage battery industry Ⓩ 2022 ~ 2028
- Niuke winter vacation training camp 4 g (enumeration optimization, Euler power reduction)
- Label coco format data and format data in the upper left corner and lower right corner are mutually converted
猜你喜欢

How PHP gets all method names of objects

6.0 kernel driver character driver

On my first day at work, this API timeout optimization put me down!

Teach you to easily learn the type of data stored in the database (a must see for getting started with the database)

What are the common computer problems and solutions

Covariance

Unique in China! Alibaba cloud container service enters the Forrester leader quadrant

Exness: the Central Bank of England will raise interest rates again in March, and inflation is coming

Unique in China! Alibaba cloud container service enters the Forrester leader quadrant

QGIS grid processing DEM data reclassification
随机推荐
Morning flowers and evening flowers
Exclusive interview with the person in charge of openkruise: to what extent has cloud native application automation developed now?
What are the common computer problems and solutions
Go language slice interview real question 7 consecutive questions
[dynamic programming] Jisuan Ke: Jumping stake (variant of the longest increasing subsequence)
How to connect a laptop to a projector
Ten minutes will take you in-depth understanding of multithreading. Multithreading on lock optimization (I)
Team collaborative combat penetration tool CS artifact cobalt strike
Yyds dry goods inventory hands-on teach you to create a jigsaw puzzle using the canvasapi
Pat grade A - 1164 good in C (20 points)
How to restore the factory settings of HP computer
DR-NAS26-Qualcomm-Atheros-AR9582-2T-2R-MIMO-802.11-N-5GHz-high-power-Mini-PCIe-Wi-Fi-Module
1 Introduction to spark Foundation
SDNU_ ACM_ ICPC_ 2022_ Winter_ Practice_ 4th [individual]
1068. Consolidation of ring stones (ring, interval DP)
Preliminary analysis of smart microwave radar module
IPhone development swift foundation 08 encryption and security
Teach you how to run two or more MySQL databases at the same time in one system
WiFi 2.4g/5g/6g channel distribution
LeetCode 1646. Get the maximum value in the generated array