![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
文章平均质量分 88
Tigerdush
主要致力于web前端的研发创业中...
展开
-
C/C++ 笔试、面试题目大汇总
这些东西有点烦,有点无聊。如果要去C++面试就看看吧。几年前网上搜索的。刚才看到,就整理一下,里面有些被我改了,感觉之前说的不对或不完善。 1.求下面函数的返回值( 微软) int func(x) { int countx =0; while(x) { countx ++; x = x&(x-1); } return countx;原创 2013-04-24 14:33:08 · 853 阅读 · 1 评论 -
C++ 面试题大全(续)
继续 ~~~~~~~~~ 一.找错题 试题1: void test1() { char string[10]; char* str1 = "0123456789"; strcpy( string, str1 ); } 试题2: void test2() { char string[10],str1[10]; int i; for(i=0; i10; i+原创 2013-04-24 14:36:18 · 1356 阅读 · 2 评论