当前位置:网站首页>The array of C language is a parameter to pass a pointer
The array of C language is a parameter to pass a pointer
2022-06-27 15:54:00 【Burn slowly】
#include <stdio.h>
int test_size(int data[]){
printf("sizeof(data) = %ld\n",sizeof(data)); //sizeof(data) = 8
}
// Be careful : All pointer types are occupied 8 Bytes , Regardless of 32 position , still 64 Bit system , Is so
int main(){
int count[] = {1, 2, 3, 4, 5};
printf("sizeof(count) = %ld\n", sizeof(count));//sizoef(count) = 20
test_size(count);
return 0;
}
边栏推荐
- Numerical extension of 27es6
- SQL parsing practice of Pisa proxy
- Centos8 PostgreSQL initialization error: initdb: error: invalid locale settings; check LANG and LC_* environment
- SQL injection principle
- SIGKDD22|图“预训练、提示、微调”范式下的图神经网络泛化框架
- Pisa-Proxy 之 SQL 解析实践
- Vulnerability recurrence ----- 34. Yapi remote command execution vulnerability
- 2022-2-15 learning the imitated Niuke project - Section 5 shows comments
- 一场分销裂变活动,不止是发发朋友圈这么简单!
- express
猜你喜欢

Weekly snapshot of substrate technology 20220411

一场分销裂变活动,不止是发发朋友圈这么简单!

ICML 2022 ぷ the latest fedformer of the Dharma Institute of Afghanistan ⻓ surpasses SOTA in the whole process of time series prediction
![洛谷_P1003 [NOIP2011 提高组] 铺地毯_暴力枚举](/img/65/413ac967cc8fc22f170c8c7ddaa106.png)
洛谷_P1003 [NOIP2011 提高组] 铺地毯_暴力枚举

Why can't the start method be called repeatedly? But the run method can?

What should the ultimate LAN transmission experience be like

带你认识图数据库性能和场景测试利器LDBC SNB

3.1 simple condition judgment

The latest development course of grain college in 2022: 8 - foreground login function

About tensorflow using GPU acceleration
随机推荐
What are the characteristics of fixed income + products?
ORM表关系及操作
Logstash excludes specific files or folders from collecting report log data
Leetcode daily practice (longest substring without repeated characters)
一场分销裂变活动,不止是发发朋友圈这么简单!
[170] the PostgreSQL 10 field type is changed from string to integer, and the error column cannot be cast automatically to type integer is reported
Knowledge map model
Indexeddb learning materials
Design of CAN bus controller based on FPGA (with main codes)
OpenSSF安全计划:SBOM将驱动软件供应链安全
保留有效位数;保留小数点后n位;
About tensorflow using GPU acceleration
带你认识图数据库性能和场景测试利器LDBC SNB
目前PolarDB-X是不支持数据库自制服务DAS么?
Introduce you to ldbc SNB, a powerful tool for database performance and scenario testing
LeetCode每日一练(无重复字符的最长子串)
[issue 17] golang's one-year experience in developing Meitu
Eolink 推出面向中小企业及初创企业支持计划,为企业赋能!
Pisa-Proxy 之 SQL 解析实践
Today, Teng Xu came out with 37k during the interview. It's really a miracle. He showed me his skill