P面试题
来源:互联网 发布:python教程 snmp 编辑:程序博客网 时间:2024/04/30 22:38
1、#include<stdio.h>
void main()
{
int i=0;
char c= 0x80;
i = c;
if(i>=0)
{
printf("1");
}
else
printf("2");
}
char 的范围为-128 (0x80)至+127.
2、
void main()
{
for(int i=0;i <=0x2000000000;i++)
}
越界。
- 面试题:++*p, *p++ 和 *++p
- P面试题
- 经典面试题 之 关于 const char* p , char const* p 以及 char * const p
- const int *p,const * int p,int const *p 面试题考试问题
- 面试题——转自http://blog.himdd.com/?p=2977
- P.V操作原语和信号量(搜狐面试题)
- 面试题....
- 面试题
- 面试题
- 面试题
- 面试题
- 面试题
- 面试题
- 面试题
- 面试题
- 面试题
- 面试题
- 面试题
- MFC中的ID命名规则
- Flash的FileReference在使用代理上网的问题
- iframe高度自适应
- 关于纯AS环境开发,如何引用Flash组件库
- Linux原子操作的分析
- P面试题
- 网线接法:详细的网线制作
- 页面上获得Flash的对象的方法,官方版本
- 进入孕期第36周
- double 精度问题
- VC++动态链接库(DLL)编程深入浅出(zz)
- Objective-C 属性特性(assign , retain , copy , readonly , readwrite , atomic , nonatomic)
- 安装Ubuntu11.10-desktop 40G硬盘分区
- linux下ls命令可选项详解