博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
数据类型
阅读量:4100 次
发布时间:2019-05-25

本文共 1139 字,大约阅读时间需要 3 分钟。

int main(){    printf("sizeof(unsigned char)=%d\n",sizeof(unsigned char));    printf("sizeof(char)=%d\n",sizeof( char));    printf("sizeof(int)=%d\n",sizeof( int));    printf("sizeof(unsigned int)=%d\n",sizeof( unsigned int));    printf("sizeof(float)=%d\n",sizeof( float));    printf("sizeof(double)=%d\n",sizeof(  double));    printf("sizeof(long)=%d\n",sizeof( long));    printf("sizeof(unsigned long)=%d\n",sizeof( unsigned long));    printf("sizeof(long long)=%d\n",sizeof( long long));    printf("sizeof(unsigned long long)=%d\n",sizeof( unsigned long long));    printf("1<<8=:%d \n",1<<8);    printf("1<<16=:%d \n",1<<16);    printf("0x12345678&0xffff=%x \n",0x12345678&0xffff);    printf("0x12345678|0xffff=%x \n",0x12345678|0xffff);    return 0;}
Starting H:\QT_temp\build-test-unknown-Default\test.exe...sizeof(unsigned char)=1sizeof(char)=1sizeof(int)=4sizeof(unsigned int)=4sizeof(float)=4sizeof(double)=8sizeof(long)=4sizeof(unsigned long)=4sizeof(long long)=8sizeof(unsigned long long)=81<<8=:256 1<<16=:65536 0x12345678&0xffff=5678 0x12345678|0xffff=1234ffff H:/QT_temp/build-test-unknown-Default/test.exe exited with code 0

转载地址:http://aiwsi.baihongyu.com/

你可能感兴趣的文章
Spring Boot构建简单的微博应用
查看>>
Spring处理表单提交
查看>>
Spring MVC异常处理
查看>>
Leetcode 1180. Count Substrings with Only One Distinct Letter [Python]
查看>>
PHP 7 的五大新特性
查看>>
php实现socket(转)
查看>>
PHP底层的运行机制与原理
查看>>
深入了解php底层机制
查看>>
PHP中的stdClass 【转】
查看>>
XHProf-php轻量级的性能分析工具
查看>>
PHP7新特性 What will be in PHP 7/PHPNG
查看>>
比较strtr, str_replace和preg_replace三个函数的效率
查看>>
ubuntu 下编译PHP5.5.7问题:configure: error: freetype.h not found.
查看>>
PHP编译configure时常见错误 debian centos
查看>>
configure: error: Please reinstall the BZip2 distribution
查看>>
OpenCV gpu模块样例注释:video_reader.cpp
查看>>
【增强学习在无人驾驶中的应用】
查看>>
《python+opencv实践》四、图像特征提取与描述——29理解图像特征
查看>>
《python+opencv实践》四、图像特征提取与描述——31 Shi-Tomasi 角点检测& 适合于跟踪的图像特征
查看>>
OpenCV meanshift目标跟踪总结
查看>>