![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c语言
枯木易舟
这个作者很懒,什么都没留下…
展开
-
C学习第一式:对scanf()函数的学习
#include <stdio.h>int main(int argc, char const *argv[]){ int a,b=0,c; float x,y; char c1,c2; //scanf("a=%d,b=%d",&a,&b); //scanf("%2d%*2d%3d",&a,&b); //scanf("%2d%*d",&a,&b);原创 2015-07-23 00:08:20 · 604 阅读 · 0 评论 -
大端序小端序问题
#include <stdio.h>int main(void){ int array[] = {1, 2, 3, 4, 5}; int *p = (int *)((int)array + 1); printf("%d\n %x\n", *p, *p); return 0;} 输出结果: 33554432 2000000原创 2017-03-12 16:39:09 · 487 阅读 · 0 评论