摘要:
第十三题 int CountBits(unsigned int x) { int count=0; while(x) { count++; x = x&(x-1); } return count; }知识点讲... 阅读全文
posted @ 2014-09-23 06:56
tanghuimin0713
阅读(401)
评论(0)
推荐(0)
摘要:
第九题#include int main(){ float f=0.0f; int i; for(i=0;i”“int main(){ int a = 1,2; printf("a : %d\n",a); retur... 阅读全文
posted @ 2014-09-23 06:49
tanghuimin0713
阅读(477)
评论(0)
推荐(0)
摘要:
第六题 #include int main() { int a=10; switch(a) { case '1': printf("ONE\n"); ... 阅读全文
posted @ 2014-09-23 06:42
tanghuimin0713
阅读(496)
评论(0)
推荐(0)
摘要:
第一题 #include #define TOTAL_ELEMENTS (sizeof(array) / sizeof(array[0])) int array[] = {23,34,12,17,204,99,16}; int main() { int d; for(d... 阅读全文
posted @ 2014-09-23 06:18
tanghuimin0713
阅读(782)
评论(2)
推荐(0)