当前位置:网站首页>Understand which C standards are there & understand the C compilation pipeline
Understand which C standards are there & understand the C compilation pipeline
2022-06-25 21:42:00 【mooczhimahu】
Which of the following is not C standard . Reference resources :C Language standards
Little knowledge :C The development of language standards
int main(int argc, char** argv){
printf(" This is a C Standard code :%s", "C19");
return 0;
}
A typical C Program compilation pipeline , Include preprocessing 、 compile 、 assembly 、 Link four links .
Suppose the input file is helloworld.c
, Use GCC compiler , The compile command is gcc -Wall -save-temps helloworld.c -o helloworld
, Which of the following is not C The program processes the files generated by the pipeline ?
answer :
helloworld.txt
analysis :
// hello.c
#include <stdio.h>
int main(){
printf("hello world!\n");
}
$ gcc hello.c # compile
$ ./a.out # perform
hello world!
.c file -----> Pretreatment produces .i file -----> Compile generation .s file -----> Assembly produces .o file -----> Link generation . exe file
There is no mention of .txt file , So choose helloworld.txt
边栏推荐
- Robotframework rewrite framework add case control
- Command 'GCC' failed with exit status 1 when PIP install mysqlclient
- MySQL operation Basics
- Website judges network connection disconnection, JS judges network connection disconnection, best practice
- JS__ This, arguments, cloning, ternary operator__ Duyi
- What is a ZFS file system
- Canoe learning notes (4)
- Wd4t secondary opening firmware 190 module for mobile hard disk data recovery is successfully repaired
- Get parameters in URL
- STM32 self balancing robot project, with code, circuit diagram and other data attached at the end (learning materials and learning group at the end)
猜你喜欢
"Developer theory" multi system integrated development - rapid nailing of enterprise owned systems
HNU计网实验:实验一 应用协议与数据包分析实验(使用Wireshark)
[nailing scenario capability package] enterprise and public institution intelligent access control
Measurement fitting based on Halcon learning -- Practice [2]
Simulate ATM system (account opening, login, account query, withdrawal, deposit, transfer, password modification, account cancellation)
Windows11 windows security center cannot open Windows Defender cannot open
Write a "standard" macro min, which inputs two parameters and returns the smaller one
Volatile qualifier
QT method of exiting application (exe)
[nailing scenario capability package] exhibition admission
随机推荐
How does idea package its own projects into jar packages
JS disable the browser PDF printing and downloading functions (pdf.js disable the printing and downloading functions)
Tcapulusdb Jun · industry news collection (VI)
Circular structure and circular keywords
Finger collar pin exclusive Medal
leetcode: 49. 字母异位词分组
PHP runtime and memory consumption statistics code
什么是代码基线?
实验三的各种特效案例
Top in the whole network, it is no exaggeration to say that this Stanford machine learning tutorial in Chinese notes can help you learn from the beginning to the mastery of machine learning
Big end and small end
The latest (2022-2-16) vulnerability of WordPress plug-in bee collection (XSS, WordPress user name exposure, arbitrary article publishing) is repeated
[nailing scenario capability package] enterprise and public institution intelligent access control
mysql 通过sql 修改多表增加多个字段
Zhiyun health is about to go public: long-term losses, meinian health Yu Rong has withdrawn, and it is difficult to be optimistic about the future
04 disk space management
Jmeter- (III) create user test cases for interface testing
UDP Vs TCP (Powercert animated videos)
ZABBIX foundation details
[nailing scenario capability package] smart office phone