当前位置:网站首页>了解有哪几个C标准&了解C编译管道
了解有哪几个C标准&了解C编译管道
2022-06-25 21:32:00 【mooczhimahu】
下列哪个不是C标准。参考:C语言标准
小知识:C语言标准的发展
int main(int argc, char** argv){
printf("这是一个C标准代号:%s", "C19");
return 0;
}
一个典型的C程序编译管道,包含预处理、编译、汇编、链接四个环节。

假设输入文件是helloworld.c,使用GCC编译程序,编译命令是gcc -Wall -save-temps helloworld.c -o helloworld,那么下面哪个不是C程序处理管道产生的文件?
答案:
helloworld.txt
解析:
// hello.c
#include <stdio.h>
int main(){
printf("hello world!\n");
}
$ gcc hello.c # 编译
$ ./a.out # 执行
hello world!
.c文件----->预处理产生.i文件----->编译产生.s文件----->汇编产生.o文件----->链接产生. exe文件
其中并没有提到.txt文件,故选helloworld.txt
边栏推荐
- VFS appears when mounting a file system from an SD card: cannot open root device "mmcblk1p2“
- On merging and sorting
- Canoe learning notes (2)
- STM32 self balancing robot project, with code, circuit diagram and other data attached at the end (learning materials and learning group at the end)
- Beginner to embedded development
- Compile 6relayd using the cross compiler
- XMIND to excel test case
- The robotframework executes CMD commands and bat scripts
- Common singleton functions traverse dictionary functions
- [nailing scenario capability package] smart office phone
猜你喜欢

Write a "standard" macro min, which inputs two parameters and returns the smaller one

Finger collar pin exclusive Medal

Understand two major web development patterns

lombok

Website judges network connection disconnection, JS judges network connection disconnection, best practice

Sqlmap for interface security testing

js禁用浏览器 pdf 打印、下载功能(pdf.js 禁用打印下载、功能)

Free your hands and automatically brush Tiktok
![[nailing scenario capability package] enterprise and public institution intelligent access control](/img/0e/43433ca5586c48d01708e5fa39a808.jpg)
[nailing scenario capability package] enterprise and public institution intelligent access control
![[important notice] developer document update (12.13-12.19)](/img/49/6a54235409ec95fa50bcc14ef1d405.jpg)
[important notice] developer document update (12.13-12.19)
随机推荐
Win11无法删除文件夹怎么办?Win11无法删除文件夹的解决方法
[nailing scenario capability package] smart office phone
HNU计网实验:实验一 应用协议与数据包分析实验(使用Wireshark)
HNU计网实验:实验五 网络层与链路层协议分析(PacketTracer)
What is API
Soft test intermediate simple notes
The robot framework calls the JS interface and gets the return value
Data query of server SQL. The most important chapter in database learning
js 限制鼠标移动范围
Send a more awesome website, which can convert curl commands into code in any language
Apache uses setenvif to identify and release the CDN traffic according to the request header, intercept the DDoS traffic, pay attention to the security issues during CDN deployment, and bypass the CDN
Type conversion basis
Docker Alpine image installation PHP extension redis
OLED driven learning based on ssd1306 (II): addressing mode of ssd1306
银河证券靠谱吗?开证券账户安全吗?
CANoe. Diva operation guide - establishment of operation environment
Winget: the "Winget" item cannot be recognized as the name of cmdlet, function, script file or runnable program. Win11 Winget cannot be used to solve this problem
JS__ Prototype, prototype chain, call/apply__ Duyi
lombok
C language: array with length 0