当前位置:网站首页>了解有哪几个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
边栏推荐
- Ecu-test report converted to excel format
- OLED driver learning based on ssd1306 (I): SSD Chinese command table (handling)
- Using recursive method to find the value of 1~n
- Is it safe for Xiaobai to open a stock account online?
- Pytest assert encapsulation
- Canoe learning notes (1)
- Type conversion basis
- Weed FS stress test
- How testers write functional test cases
- Shell scripts: Variables
猜你喜欢
PHP Chinese word segmentation API, Harbin Institute of technology ltpcloud, naturallanguageprocessing, free, best practices!
Canoe learning notes (1)
Jmeter- (II) basic interface and common components for interface testing
“No bean named ‘UserController‘ available“
[nailing scenario capability package] exhibition admission
The latest (2022-2-16) vulnerability of WordPress plug-in bee collection (XSS, WordPress user name exposure, arbitrary article publishing) is repeated
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
[nailing scenario capability package] manage the on-the-job / off-the-job situation of employees
[nailing scenario capability package] smart office phone
随机推荐
PHP runtime and memory consumption statistics code
Measurement fitting based on Halcon learning -- Practice [2]
01 network basics
Finger collar pin exclusive Medal
UDP Vs TCP (Powercert animated videos)
Jmeter- (IV) regular expression for interface testing
js 限制鼠标移动范围
Ecu-test report converted to excel format
Is flush app regular? Is it safe or not
QT method of exiting application (exe)
Win11无法删除文件夹怎么办?Win11无法删除文件夹的解决方法
How testers write functional test cases
Jmeter- (II) basic interface and common components for interface testing
Robotframework rewrite framework add case control
Bat script simple command
If switch branch structure
Solve the parameter problem that laravels cannot receive wechat callback
How to solve the problem of flash write protection in STM32?
Molecular dynamics - basic characteristics of molecular force field
ZABBIX foundation details