首页 > 编程知识 正文

long占多少个字节,unsignedint占多少个字节

时间:2023-05-06 00:05:10 阅读:178546 作者:4038

在CC中,char、short和int各占多少字节:

# include bits/stdc.husingnamespacestd; int main () cout sizeof (char ) endl; coutsizeof(short ) endl; coutsizeof(int ) endl; //输出结果为1、2、4}

转载于:https://www.cn blogs.com/getchar ZP/p/9828391.html

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。