小说网 找小说 无限小说 烟雨红尘 幻想小说 酷文学 深夜书屋

2013年10月27日

基于Visual C++2013拆解世界五百强面试题--题18-程序结果分析2-终结篇

摘要: 第二部分程序结果分析,分析流程还是写入代码注释中分析下面程序的输出:#include int main(){ char *a = "hello"; char *b = "hello"; if (a == b) printf("YES"); else printf("NO"); //由于a、b指... 阅读全文

posted @ 2013-10-27 15:53 牛栏山1 阅读(125) 评论(0) 推荐(0) 编辑

基于Visual C++2013拆解世界五百强面试题--题17-程序结果分析1

摘要: 分析程序结果,分析过程我们就写在程序注释里面。写出下列代码的输出内容#include int inc(int a){ return (++a);}int multi(int *a, int *b, int *c){ return (*c = *a * *b);}typedef int (FUN... 阅读全文

posted @ 2013-10-27 15:10 牛栏山1 阅读(93) 评论(0) 推荐(0) 编辑

导航