会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
山里狼
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
2012年11月3日
C/C++经典语法和指针面试题
摘要: 下面程序的结果是多少?#include <iostream>#include <stdio.h>#include <string.h>#include <conio.h>using namespace std;int main(){ float a=1.0f; cout<<(int)a<<endl; cout<<&a<<endl; cout<<(int&)a<<endl; cout<<boolalpha<<((int)a==(int&a
阅读全文
posted @ 2012-11-03 19:09 山里狼
阅读(528)
评论(0)
推荐(0)
编辑