摘要:
在《程序员面试宝典》有这样一道题目:#include <iostream>#include <string> using namespace std;int _tmain(int argc, _TCHAR* argv[]){ float fa = 1.0f; cout<<&fa<<endl; //0x0012ff60 cout<<(int)fa<<endl; //1 cout<<(float&)fa<<endl;//1 cout<<*((float*)(&fa)) 阅读全文
posted @ 2012-08-19 10:04
CBDoctor
阅读(13307)
评论(1)
推荐(3)
浙公网安备 33010602011771号