在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
在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 举报,一经查实,本站将立刻删除。