gpt4 book ai didi

c - 在函数上使用 sizeof 的输出

转载 作者:太空狗 更新时间:2023-10-29 14:53:36 25 4
gpt4 key购买 nike

<分区>

为什么下面的代码给出:

#include<stdio.h>

int voo()
{
printf ("Some Code");
return 0;
}


int main() {
printf ("%zu", sizeof voo);
return 0;
}

以下输出:

1

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com