当前位置:网站首页>【C语言】数组名是什么
【C语言】数组名是什么
2022-08-04 05:31:00 【crazy__xieyi】
数组名是数组首元素的地址
但是有两个例外:
1.sizeof(数组名)-数组名表示整个数组-计算的是整个数组的大小,单位是字节
2.&数组名-数组名表示整个数组-取出的是整个数组的地址
为了更好的理解数组名以及指针,请参考指针的运算【C语言】_crazy__xieyi的博客-CSDN博客
相信看了这篇,大家应该对数组名有了更深的理解了
边栏推荐
- Unity ML-agents 参数设置解明
- 【Copy攻城狮日志】飞浆学院强化学习7日打卡营-学习笔记
- [开发杂项][编辑器][代码阅读]ctags&vim
- Introduction to Convolutional Neural Networks
- 中国联通、欧莱雅和钉钉都在争相打造的秘密武器?虚拟IP未来还有怎样的可能
- Copy Siege Lions "sticky" to AI couplets
- Copy攻城狮的年度之“战”|回顾2020
- [Daily Office][Miscellaneous][vscode]tab space
- Machine Learning - Processing of Text Labels for Classification Problems (Feature Engineering)
- LeetCode_Nov_2nd_Week
猜你喜欢
file permission management ugo
MNIST Handwritten Digit Recognition - Building a Perceptron from Zero for Two-Classification
通用解决端口占用问题
安装MySQL的详细步骤
MNIST handwritten digit recognition, sorted by from two to ten
"A minute" Copy siege lion log 】 【 run MindSpore LeNet model
LeetCode_Dec_3rd_Week
LeetCode_Nov_3rd_Week
Golang环境变量设置(二)--GOMODULE&GOPROXY
arm学习-1-开发板
随机推荐
tmux concept and usage
LeetCode_Nov_3rd_Week
jdbc:mysql://localhost:3306/student?serverTimezone=CTT&useUnicode=true&characterEncoding=utf-8时报错
LeetCode_22_Apr_2nd_Week
C语言数组的深度分析
MNIST手写数字识别 —— 从感知机到卷积神经网络
指针的运算【C语言】
IEEE802.X协议族
强化学习中,Q-Learning与Sarsa的差别有多大?
MySQL存储过程学习笔记(基于8.0)
Question 1000: Input two integers a and b, calculate the sum of a+b, this question is multiple sets of test data
MySQL批量修改时间字段
counting cycle
管道重定向
2020-03-27
理想的生活
LeetCode_Nov_4th_Week
LeetCode_Dec_3rd_Week
MNIST手写数字识别 —— 从二分类到十分类
深度学习,“粮草”先行--浅谈数据集获取之道