1718| 2
|
[已解决]结构体地址 |
10鱼币
最佳答案题一:
p=&stu.age
stu.age是int型,那么取地址之后,也是int*
而p是 struct student * 类型不同是不能直接=,要么强制转换(struct student *)&stu.age
题二:
如果你看了题一,你会发现C好像是最合适的
| ||
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
小甲鱼最新课程 -> https://ilovefishc.com
|
||
小黑屋|手机版|Archiver|鱼C工作室
( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)
GMT+8, 2025-7-13 14:01
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.