最新回答 / 修裾欲溯空
前面那个问题,是因为程序没有语法错误,c语言没有规定函数必须有返回值,没有也行,可以运行,只是运行之后你不能得到他的用变量保存他的结果,只要调用了函数就能运行后面那个问题,可以return,但是接受不到他返回的值,而且要强行接收还会报错
2019-07-12
最赞回答 / 过客1312
say()函数中定义了该部分输出内容,say()函数是在test.c中定义的,查看右边test.c代码如下:#include <stdio.h>void say(){ printLine(); printf("I love imooc\n"); printf("good good study!\n"); printf("day day up!\n"); printLine();}
2019-07-12
最赞回答 / 慕设计0552238
Because in this case k starts with 0, which means if the k value satisfies k<2*i-1, the command below will excute. You may need to know that k itself has no relation to the number of *, however, it is the number of k that satisfying the formula matter...
2019-07-11