//#include<stdio.h>//int main()//{//int x = 100;//printf("dec=%d;octal=%o;hex=%x\n", x, x, x);//printf("dec=%d;octal=%#o;hex=%#x\n", x, x, x);//return 0;//}//#include<stdio.h>//int main()//{//unsigned int un = 3000000000;//short end = 200;//long big = 65537;//long long verybig = 12345678908642;//printf("un=%u and not %d\n", un, un);//printf("end=%hd and %d\n", end, end);//printf("big=%ld and not %hd\n", big, big);//printf("verybig=%lld and not %ld\n", verybig, verybig);//return 0;//}//#include<stdio.h>//#include<inttypes.h>//int main()//{//int32_t me32;//me32 = 45933945;//printf("First,assume int32_t isint:");//printf("me32=%d\n", me32);//printf("Next,let's not make any assumptions.\n");//printf("Instead,use a \"macro\" from inttypes.h:");//printf("me32=%" PRId32 "\n", me32);//return 0;//}


©著作权归作者所有:来自51CTO博客作者qq5fc1f893c5efc的原创作品,如需转载,请注明出处,否则将追究法律责任

更多相关文章

  1. 自学第七十六天
  2. 2021.2.10
  3. 还有3天就过年了
  4. 网络管理
  5. 2020_2_5
  6. 2021.2.5
  7. 2021.2.3
  8. DNS
  9. 基础命令8

随机推荐

  1. Android(安卓)UI中的style和theme以及Ale
  2. Android应用程序组件Content Provider简
  3. Android(安卓)JNI/Hardware 加载(一)
  4. Android(安卓)手机无法连接mac解决办法
  5. Android中如何在命令行中查看某个文件的
  6. Android(Xamarin)之旅(三)
  7. Android(安卓)- R资源未找到至java文件报
  8. android 机顶盒开发-----GridView
  9. Android(安卓)EventBus 封装(支持多个粘性
  10. Android应用程序绑定服务(bindService)的过