当前位置:网站首页>(*(void (*)())0)() Interpretation
(*(void (*)())0)() Interpretation
2022-07-30 07:24:00 【#tangjieyuan】
This sentence is from the classic bibliography "C Pitfalls and Defects"
(*(void (*)())0)()
Call the function at 0, the function has no parameters and the return type is void
Now read this sentence in sections
1.void (*)()--function pointer type;
2.(void (*)())0--Certain type conversion to 0, which is interpreted as a function address;
3.(*(void (*)())0)--dereference the 0 address;
4.(*(void (*)())0)()--call the function at address 0
边栏推荐
- 租用服务器训练yolov3模型
- Word使用中常用的快捷键
- SSH-RSA密钥
- VsCode打开终端的方法
- 爬2.12.6的Antd上传图片坑
- This beta version of Typora is expired, please download and install a newer;解决方法
- 昆仑通态屏幕制作(连载4)---基础篇(图形设定与显示,按钮灯)
- vs compile boost library script
- QT连载2:基于QT和STM32H750的LORA试验平台(1)
- Diwen serial screen production (serialization 1) ===== preparation work
猜你喜欢
随机推荐
与所有 ARM 工具、软件兼容?韦斯佰瑞这款MCU内核值得关注!
Antd简单启动一个企业级项目
CPU的三种工作模式:实模式、保护模式、长模式
【已解决:el-input标签无法输入或不显示文字】
Massive remote sensing data processing and application of GEE cloud computing technology [basic, advanced]
vs compile boost library script
NS3报错 fatal error: ns3/opengym-module.h: No such file or directory
2021年软考中级过关
高效插入map数据
Duplicate keys detected:‘/da…‘
暂时存着阿里云
Kunlun State Screen Production (Serialization 5) --- Basics (serial port reception, text and light display)
动态规划入门 JS
Kunlun State Screen Production (Serialization 2)---Basic Chapter (setting and display, serial transmission)
Insertion Sort in Classic Sort
【江科大自化协stm32F103c8t6】笔记之【入门32单片机及GPIO初始化参数配置】
关于map对key自定义排序
QT serial 2: LORA test platform based on QT and STM32H750 (1)
Antd 树拖拽一些细节,官网没有,摸坑篇
昆仑通态屏幕制作(连载4)---基础篇(图形设定与显示,按钮灯)









