首页
技术
登录
6mi
u
盘
搜
搜 索
技术
指针函数
指针函数
技术
2025-05-21
42
#
include
<stdio.h>
#
include
<string.h>
#
include
<stdlib.h>
//指针函数
//()优先级比*高,它是函数,返回值是指针类型的函数
//返回指针类型的函数
int
*
fun
(
)
{
int
*
p
=
(
int
*
)
malloc
(
sizeof
(
int
)
)
;
return
p
;
}
int
main
(
)
{
int
*
head
=
NULL
;
head
=
fun
(
)
;
return
0
;
}
转载请注明原文地址:https://ipadbbs.8miu.com/read-56920.html
最新回复
(
0
)